code: def test_has_edge(graph_file):
      cu_M = utils.read_csv_file(graph_file)
      cu_M = cu_M[cu_M["0"] <= cu_M["1"]].reset_index(drop=True)
  
      # cugraph add_edge_list
      G = cugraph.Graph()
      G.from_cudf_edgelist(cu_M, source="0", destination="1")
  
      for index, row in cu_M.to_pandas().iterrows():
          assert G.has_edge(row["0"], row["1"])
          assert G.has_edge(row["1"], row["0"])
  
imports: import gc
  import time
  import pytest
  import pandas
  import scipy
  import networkx
  import cupy
  import cudf
  import cugraph
  from cugraph.testing import utils
  from cudf.testing import assert_series_equal
  from cudf.testing.testing import assert_frame_equal
  import dask_cudf
  import cugraph.dask
  from dask.distributed import Client
  from dask_cuda import LocalCUDACluster
  from pylibcugraph import ResourceHandle
  from pylibcugraph import bfs
  from cugraph.dask.traversal.bfs import convert_to_cudf
  from cugraph.dask.common.mg_utils import is_single_gpu
label_desc: Use image node_id 21 for calling a global function with example usage: test_has_edge(graph_file) without return types