def is_callable(func):
if not issubclass(func, dataframe.Callable):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>return True<EOL>
Check if a function extends callable.

:param func: the function to be checked
:return: returns true if the function is callable