結果 : check if word exists python