pylint errors, changed == True to 'is True'