testStopWords = ["This","is","a","list","of","words","to","test"]
def isStopWord(aWord,stopWords):
# return true if aWord in in stopword list
inList=False
# Your code to determine if aWord is in stopword list
return inList
word=input("Enter word to test (enter to stop): ")
while len(word)>0:
if isStopWord(word,testStopWords):
print(word,"is in the stop list.")
else:
print(word,"is NOT in the stop list.")
word=input("Enter word to test (enter to stop): ")