fixes SyntaxWarning: "is" with a literal. Did you mean "=="?
SyntaxWarning: "is" with a literal. Did you mean "=="?