結果 : check if string is word python