Python Find First Index Of Element In List With Condition