Compruebe si es la clase Python
isinstance(var, VarClass)
notPlancha
isinstance(var, VarClass)
class A:
def func():
pass
hasattr(A(), 'func')