code: def test_graph_is_tournament():
      for _ in range(10):
          G = random_tournament(5)
          assert is_tournament(G)
  
imports: from itertools import combinations
  import pytest
  from networkx import DiGraph
  from networkx.algorithms.tournament import hamiltonian_path, index_satisfying, is_reachable, is_strongly_connected, is_tournament, random_tournament, score_sequence, tournament_matrix
label_desc: Use image node_id 7 for calling a global function with example usage: test_graph_is_tournament() without return types