def valid_dictionary_word(word, words_list):
    """Function to check if the word is in the dictionary.
    Args:
        word (str): word to test
        words_list (list): the "dictionary"
    Returns:
        bool: wether or not the word is in the dictionary
    """
    if word in words_list:
        return True
    else:
        return False