tfma.model_util.is_callable_fn

Returns true if function is callable.