def _size_in_list(same_arr_size_list, size):
    """
    This function, for a given list of ArraysSameSize objects, checks
    if a certain size in inside that list
    """
    for elem in same_arr_size_list:
        if elem.size == size:
            return True
    return False