SQLite does not have a boolean type, and returns 0 or 1. Compare against 0 or 1, or use `if ($EntryExistsBoolean) {...}`.