Clean up pep8 warning on membership checks