human
Complete the below
def login_forbidden(view_func, template_name='login_forbidden.html', status=403):

    ''''Only allow anonymous users to access this view.'
    '''
assistant
#Here is the Python program you requested.
    @wraps(view_func)
    def _checklogin(request, *args, **kwargs):
        if (not user_is_authenticated(request.user)):
            return view_func(request, *args, **kwargs)
        return render(request, template_name, status=status)
    return _checklogin