def is_delete_keys(request, path, bucket_name):
    return ((path == '/?delete') or (path == '/?delete=') or ((path == '/') and (getattr(request, 'query_string', '') == 'delete')))
def is_delete_keys(request, path, bucket_name):
    return ((path == '/?delete') or (path == '/?delete=') or ((path == '/') and (getattr(request, 'query_string', ) == 'delete')))