For example looking at the type of None, we can see that it has NoneType:
NoneType
>>> type(None) NoneType
However a NameErr
NameErr
As suggested by @dawg in the comments, you can do
if (type(some_object).__name__ == "NoneType"): # Do some pass
You can also do
NoneType = type(None) isinstance(some_object, NoneType)