How-to articles, tricks, and solutions about PEP8
Python `if x is not None` or `if not x is None`?
The proper way to check if a variable x is not None in Python is to use if x is not None.