in doubles/verification.py [0:0]
def _is_python_function(func): if ismethod(func): func = _get_func_object(func) return isfunction(func)