Check None with "is not", not equality comparison

As PEP8.
Merge pull request #7 from StevenMaude/pep8-fix

Check None with "is not", not equality comparison