Python - Finding index of first non-empty item in a list,"next((i for i, j in enumerate(lst) if j == 2), 42)"