pep8: don't use != None (E711)