input: def TicTacToe_Game() -> str:
      """This function should create and initialize a TicTacToe game. The game should include 
      a 3x3 board represented by a list of lists, with each cell initially set to '_'. The 
      game should also have a method to display the current state of the board and a method 
      to check if the current player has won the game. The check_win method should consider 
      rows, columns, and diagonals for a win condition.
      >>> game = TicTacToe()
      >>> game.display()
      '_ _ _'
      '_ _ _'
      '_ _ _'
      >>> game.board[0][0] = 'x'
      >>> game.board[1][1] = 'x'
      >>> game.board[2][2] = 'x'
      >>> game.display()
      'x _ _'
      '_ x _'
      '_ _ x'
      >>> game.check_win()
      True
      """
output:     
      class TicTacToe:
          def __init__(self):
              self.board = [['_' for _ in range(3)] for _ in range(3)]
          
          def display(self):
              for row in self.board:
                  print(' '.join(row))
          
          def check_win(self):
              # Check rows
              for row in self.board:
                  if row[0] != '_' and all(cell == row[0] for cell in row):
                      return True
              
              # Check columns
              for col in range(3):
                  if self.board[0][col] != '_' and all(self.board[row][col] == self.board[0][col] for row in range(3)):
                      return True
              
              # Check diagonals
              if self.board[0][0] != '_' and all(self.board[i][i] == self.board[0][0] for i in range(3)):
                  return True
              if self.board[0][2] != '_' and all(self.board[i][2-i] == self.board[0][2] for i in range(3)):
                  return True
              
              return False
      
      return "TicTacToe game initialized."
  