def filter_selected(list_values, value):
    """
    Check if a value exists in a list.
    Parameters:
        list_values = A non-empty list.
        value = A value
    Returns: True if the value exists in the list.
    """
    return value in list_values