Periksa apakah itu Python kelas
isinstance(var, VarClass)
notPlancha
isinstance(var, VarClass)
class A:
def func():
pass
hasattr(A(), 'func')