SyntaxFix
Write A Post
Hire A Developer
Questions
You can use isinstance if you have an instance, or issubclass if you have a class. Normally thought its a bad idea. Normally in Python you work out if an object is capable of something by attempting to do that thing to it.
isinstance
issubclass