Verifique se é a classe python
isinstance(var, VarClass)
notPlancha
isinstance(var, VarClass)
class A:
def func():
pass
hasattr(A(), 'func')