def _skip_answer_ratelimit(request):
    """Exclude image uploading and deleting from the reply rate limiting.

    Also exclude users with the questions.bypass_ratelimit permission.
    """
    return 'delete_images' in request.POST or 'upload_image' in request.POST
dataset/ETHPy150Open mozilla/kitsune/kitsune/questions/views.py/_skip_answer_ratelimit/original