def _is_cookie_marked_for_deletion(request):
 return getattr(request, 'need_to_delete_cookie', False)

def _is_cookie_marked_for_deletion ( request ) : return getattr ( request , 'need_to_delete_cookie' , False )
returns whether the session cookie has been designated for deletion in the given request object .