Change equivalence to 'is' in database.py