human
I wrote the below code

    def decorator(f):
        @functools.wraps(f)
        def wrapper(request, *args, **kw):
            if (not request.user.read_dev_agreement):
                return redirect('submit.app')
            return f(request, *args, **kw)
        return wrapper
    return decorator(f)

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

def read_dev_agreement_required(f):