77b3052f44
Revert "got rid of boolean value comparison using == as stated in pep8 style guide"
This reverts commit 3bd7717038.