Use is/is not instead of == when checking for equality of types. Fixes linter errors that recently appeared in the flake8 checker.
is
is not
==
flake8