Verifique a palavra na lista

def check(word, list):
    if word in list:
        print("The word is in the list!")
    else:
        print("The word is not in the list!")
Pornphan P