<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def end_anonymous_session_view(request):
    ''' End the anonymous session if the user is a superuser. '''
    request.session['ANONYMOUS_SESSION'] = False
    messages.add_message(request, messages.INFO, MESSAGES['ANONYMOUS_SESSION_ENDED'])
    return HttpResponseRedirect(reverse('utilities'))