def METHOD_NAME(self):
    now_application_guid = request.args.METHOD_NAME('now_application_guid', None)
    if not now_application_guid:
        raise BadRequest('now_application_guid is required')
    import_jobs = ImportNowSubmissionDocumentsJob.find_by_now_application_guid(
        now_application_guid)
    most_recent_only = request.args.METHOD_NAME('most_recent_only', False)
    if most_recent_only:
        return import_jobs[-1] if import_jobs else {}
    return import_jobs