def get_named_obj_in_list(obj_list, name):
    """
    get a named object from a list (of named objects)

    Args:
        obj_list: the list to be searched
        name: the name of the requeted object

    Returns:
        the object if found (unique name), or None.
    """
    lst = list(filter(lambda x: x.name == name, obj_list))
    if len(lst) == 1:
        return lst[0]
    else:
        return None