Do not compare boolean values to True using ==, according to PEP 8