def isWordGuessed(secretWord: str, lettersGuessed: list) -> bool:
    """Verify if secretWord was guessed

    Args:
      secretWord: the word the user is guessing
      lettersGuessed: what letters have been guessed so far

    Returns:
        bool: True if all the letters of secretWord are in lettersGuessed,
        False otherwise
    """
    # return set(secretWord) <= set(lettersGuessed)
    return all(char in lettersGuessed for char in secretWord)