X == True/False  ==>  X is True/False; per pep8
Merge pull request #6624 from hulu/fix-False-checks

X == True/False  ==>  X is True/False; per pep8