Use "is" or "is not" when compare with None

See PEP8 explanation http://www.python.org/dev/peps/pep-0008/#programming-recommendations
Merge pull request #139 from kryskool/patch-1

Use "is" or "is not" when compare with None