human
Complete this python program:
def ignore_static(f):
assistant
#Here is the Python program you requested.

    """Only executes the wrapped function if we\re not loading
    a static resource.
    """
    @wraps(f)
    def decorated_function(*args, **kwargs):
        if request.path.startswith('/static'):
            return
        return f(*args, **kwargs)
    return decorated_function