code: def test_weighted(self):
      g = graphistry.edges(edges3_df, "a", "b").bind(edge_weight="f")
      G = g.to_cugraph()
      assert G.is_weighted()
  
imports: from functools import lru_cache
  import graphistry, logging, os, pandas, pytest
  from graphistry.tests.common import NoAuthTestCase
  from graphistry.constants import SRC, DST, NODE
  from graphistry.plugins.cugraph import SRC_CUGRAPH, DST_CUGRAPH, NODE_CUGRAPH, from_cugraph, to_cugraph, compute_cugraph, layout_cugraph, compute_algs, node_compute_algs_to_attr, layout_algs
label_desc: Use image node_id 2 for calling the Test_to_cugraph obj's underlying member method code with example usage: obj.test_weighted() without return types