def check_max_errors(report_json):
    """checks whether the validation report indicates that validate hit its max error count and exited early"""
    max_errors = int(report_json.get('parameters').get('maxErrors'))
    errors_encountered = int(report_json.get('summary').get('totalErrors'))
    return max_errors == errors_encountered