I was wondering how to check whether a variable is a class (not an instance!) or not.
I\'ve tried to use the function isinstance(object, class_or_type_or_tuple
isinstance(object, class_or_type_or_tuple
isinstance(X, type)
Return True if X is class and False if not.
True
X
False