human
Write me a the Python program you requested given the following:
Complete the below
def allow_lazy(func, *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.'
    '''
assistant
#Here is the Python program you requested.
    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 wraps(func)(wrapper)