Предотвращение игроков менять существующие записи в Tic Tac Toe Game

# Checking whether the position on the tic tac board is occupied or not.
def place_marker(board, marker, position):
    if board[position] == ' ':
        board[position] = marker
    else:
        print("That space is already occupied.")
  
kuder