finding the first list element for which a condition is true,"next((e for e in mylist if my_criteria(e)), None)"