<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def revoke_sudo_privileges(request):
 """ Revoke sudo privileges from a request explicitly """

    request._sudo = False
    if COOKIE_NAME in request.session:
        del request.session[COOKIE_NAME]