list = ['word1', 'word2', 'word3'] if i in list: ...
or
list = {'word1': None, 'word2': None, 'word3': None} if list.has_key(i): ...
?
Of course, the word list is greater than 3 words.
Sam