PEP 8 Comparisons to singletons like None should always be done with is or is not, never the equality operators.