human
I wrote the below code

    def wrapper(request, *args, **kwargs):
        if (not request.twitter.authed):
            return http.HttpResponseBadRequest()
        return view_func(request, *args, **kwargs)
    return wrapper

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

def auth_required(view_func):