assert_list_element function

Is an Element of a List of Lists/Classes Fulfilling a Condition?