def is_fn(self, x):
    return x.__class__ in (TypedFn, Closure) or isinstance(x.type, (FnT, ClosureT))
dataset/ETHPy150Open iskandr/parakeet/parakeet/builder/core_builder.py/CoreBuilder.is_fn/original