"You can check whenever the function attribute was callable."
Expand|Select|Wrap|Line Numbers
- callable(tc,'talk',None)
Expand|Select|Wrap|Line Numbers
- hasattr(anything, '__call__')
1.) What do I have to put in the "anything" part? a function of a class?
2.) What does callable actually do? What does callable actually means? To check when was the last time I used that function..? What does it do? And what kind of situatins would I use this?
Thanks in advance