bot/boggle.py
def is_valid(self, word):
        """
        Returns true if the given word is a valid word that is can be formed on the board,
        an english word
        and has not been played already
        """
        return self.is_valid_word_length(word) and self.is_in_lexicon(word.lower()) and not self.has_been_played(word.lower())

        Returns true if the given word is a valid word that is can be formed on the board,
        an english word
        and has not been played already
        
Returns true if the given word is a valid word that is can be formed on the board,
an english word
and has not been played already
Returns true if the given word is a valid word that is can be formed on the board an english word and has not been played already
def is_valid(self, word):
        return self.is_valid_word_length(word) and self.is_in_lexicon(word.lower()) and not self.has_been_played(word.lower())
def is_valid ( self , word ) : return self . is_valid_word_length ( word ) and self . is_in_lexicon ( word . lower ( ) ) and not self . has_been_played ( word . lower ( ) )
Returns true if the given word is a valid word that is can be formed on the board,
an english word
and has not been played already
Returns true if the given word is a valid word that is can be formed on the board an english word and has not been played already
"""
        Returns true if the given word is a valid word that is can be formed on the board,
        an english word
        and has not been played already
        """
self
word