def is_bulk_request(request):
    content_type = request.content_type
    return 'ext=bulk' in content_type
Returns True if bulk request.  Can be called as early as the parser.
dataset/ETHPy150Open CenterForOpenScience/osf.io/api/base/utils.py/is_bulk_request