結果 : check if word in dictionary python