def METHOD_NAME(object_array, to_match):
    '''
    Finds and returns a sub array from an array of arrays.
    to_match should be a unique identifier of a sub array
    '''
    for item in object_array:
        all_match = True
        for key,value in to_match.items():
            if item[key] != value:
                all_match = False
        if not all_match:
            continue
        return item
    return []