```py def asdf(value: object): type(value) is str # error type(value) is int # error type(value) is list # no error type(value) is dict # no error class Foo: ... type(value) is Foo # no error ``` pylint's `unidiomatic-typecheck` detects all of these cases