human
Complete the below
def auth_required(view_func):

    ''''Return a HttpResponseBadRequest if not authed.'
    '''
assistant
#Here is the Python program you requested.
    def wrapper(request, *args, **kwargs):
        if (not request.twitter.authed):
            return http.HttpResponseBadRequest()
        return view_func(request, *args, **kwargs)
    return wrapper