def __separate_objects_rest(osm_list, objKey):
    #2021/06/16 eapuertoc: Acá se cambia para que separe cualquier objeto basado en el nombre clave
    """Create two lists based on an osm list: one with the object key and other with the rest ones
    
    Parameters:
    -----------
    osm_file -- File with OSM format
    objKey -- Key of the reference object to separate
    
    Returns:
    --------
    object_list -- list with the elements of the object extracted
    rest_list -- list with the rest of the elements
    """
    OSM_OBJETO = "OS:" + objKey + ",\n"
    object_list = []
    rest_list   = []
    for objeto in osm_list:
        if OSM_OBJETO in objeto:
            object_list.append(objeto)
        else:
            rest_list.append(objeto)
    return object_list, rest_list