code: def assert_same_node_feats(gs, g):
      set(gs.ndata.keys()) == set(g.ndata.keys())
  
      for key in g.ndata.keys():
          for ntype in g.ntypes:
              indices = th.arange(
                  0, g.num_nodes(ntype), dtype=g.idtype
              ).cuda()
              if len(g.ntypes) <= 1 or ntype in g.ndata[key]:
                  g_output = g.get_node_storage(
                      key=key, ntype=ntype
                  ).fetch(indices, device="cuda")
                  gs_output = gs.get_node_storage(
                      key=key, ntype=ntype
                  ).fetch(indices)
                  equal_t = (gs_output != g_output).sum().cpu()
                  assert equal_t == 0
  
imports: from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 1 for calling a global function with example usage: assert_same_node_feats(gs, g) without return types