callable function returns True if the object can be called : callable « Buildin Function « Python Tutorial






import string 

print string.punctuation                        
print string.join                                    
print callable(string.punctuation)                  
print callable(string.join)                           
print string.join.__doc__








13.5.callable
13.5.1.callable() tells if an object can be invoked via the function operator ().
13.5.2.callable function returns True if the object can be called