Verifique la palabra en la 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