human
I wrote the below code

    @wraps(func)
    def wrapper(*args, **kwargs):
        for arg in (list(args) + kwargs.values()):
            if isinstance(arg, Promise):
                break
        else:
            return func(*args, **kwargs)
        return lazy(func, *resultclasses)(*args, **kwargs)
    return wrapper

What's a good function header?
assistant
#Here's a good function header.

def allow_lazy(func, *resultclasses):