python find index of item in list containing string