human
Complete the below
def keep_lazy(*resultclasses):

    ''''A decorator that allows a function to be called with one or more lazy
    arguments. If none of the args are lazy, the function is evaluated
    immediately, otherwise a __proxy__ is returned that will evaluate the
    function when needed.'
    '''

=====
Give me a the Python code you requested?
assistant
#Here is the Python code you requested.
    if (not resultclasses):
        raise TypeError('You    must    pass    at    least    one    argument    to    keep_lazy().')
    def decorator(func):
        lazy_func = lazy(func, *resultclasses)
        @wraps(func)
        def wrapper(*args, **kwargs):
            for arg in (list(args) + list(kwargs.values())):
                if isinstance(arg, Promise):
                    break
            else:
                return func(*args, **kwargs)
            return lazy_func(*args, **kwargs)
        return wrapper
    return decorator