def is_callable(obj):
 if (not callable(obj)):
  raise ValueError('Value must be a callable')
 return True

def is_callable ( obj ) : if ( not callable ( obj ) ) : raise ValueError ( 'Value must be a callable' ) return True
return true if thing is callable .