def valid_length_word(word, words_list):
    """Function to test the validity of the length of the input word.
    Args:
        word (str): input word
        words_list (list): list of words whose size must be the same as the word entered
    Returns:
        bool: whether or not the length of the word is valid
    """
    if len(word)==len(words_list[-1]):
        return True
    else:
        return False