code: def test_ktruss_subgraph_Graph(_, nx_ground_truth):
      k = 5
      G = polbooks.get_graph(
          download=True, create_using=cugraph.Graph(directed=False)
      )
      k_subgraph = cugraph.ktruss_subgraph(G, k)
  
      compare_k_truss(k_subgraph, k, nx_ground_truth)
  
file_path: cugraph/python/cugraph/cugraph/tests/community/test_k_truss_subgraph.py
imports: import gc
  import pytest
  import networkx
  import numpy
  import cugraph
  from cugraph.testing import utils
  from cugraph.datasets import polbooks, karate_asymmetric
  from numba import cuda
label_desc: Use image node_id 5 for calling a global function with example usage: test_ktruss_subgraph_Graph(_, nx_ground_truth) without return types