def are_all_letter_in_grid(grid, text_box):
    """

    Args:
        grid (Grid): either the main grid or the temporary grid
        text_box (TextBox): the text box where the player/user types the words/characters

    Returns:
        boolean: True if all letters are in the grid. Otherwise, False
    """
    for char in text_box.text:
        found = False
        for row in grid.cubes:
            if found: break
            for cube in row:
                if char == cube.text_str:
                    found = True
                    break
        
        if not found: return False
    return True