Now that it\'s clear what a metaclass is, there is an associated concept that I use all the time without knowing what it really means.
I suppose everybody made once
To check function or method of class is callable or not that means we can call that function.
Class A: def __init__(self,val): self.val = val def bar(self): print "bar" obj = A() callable(obj.bar) True callable(obj.__init___) False def foo(): return "s" callable(foo) True callable(foo()) False