human
Complete the below
def ignore_static(f):

    ''''Only executes the wrapped function if we\'re not loading
    a static resource.'
    '''
 Give me a the Python code you requested?
assistant
#Here is the Python code you requested.
    @wraps(f)
    def decorated_function(*args, **kwargs):
        if request.path.startswith('/static'):
            return
        return f(*args, **kwargs)
    return decorated_function