I\'m trying to define a function within a word game to check if the word is valid, one of the inputs is a "hand" that\'s a dictionary of letters with int values re