def METHOD_NAME(value, system):
    '''
    Make sure the lane_status matches
    the characterization status
    '''
    if (value['status'] in ['not reviewed', 'not submitted for review by lab', 'deleted', 'in progress']):
        return
    if 'secondary_characterization_method' in value:
        return
    '''Check each of the lane_statuses in characterization_reviews for an appropriate match'''
    has_compliant_lane = False
    is_pending = False
    if value['status'] == 'pending dcc review':
        is_pending = True
    for lane in value['characterization_reviews']:
        if (is_pending and lane['lane_status'] != 'pending dcc review') or (not is_pending and lane['lane_status'] == 'pending dcc review'):
            detail = ('A lane.status of {} in antibody characterization {} is incompatible with antibody_characterization.status of {}.'.format(
                lane['lane_status'],
                audit_link(path_to_text(value['@id']), value['@id']),
                value['status']
                )
            )
            raise AuditFailure('mismatched lane status', detail, level='INTERNAL_ACTION')
            continue
        if lane['lane_status'] == 'compliant':
            has_compliant_lane = True
    if has_compliant_lane and value['status'] != 'compliant':
        detail = ('A lane.status of {} in antibody characterization {} is incompatible with antibody_characterization status of {}.'.format(
            lane['lane_status'],
            audit_link(path_to_text(value['@id']), value['@id']),
            value['status']
            )
        )
        raise AuditFailure('mismatched lane status', detail, level='INTERNAL_ACTION')