結果 : check if string matches list of strings python