code: def has_edge(self, u: NodeKey, v: NodeKey) -> bool:
      if self.key_to_id is not None:
          try:
              u = self.key_to_id[u]
              v = self.key_to_id[v]
          except KeyError:
              return False
      return bool(
          ((self.src_indices == u) & (self.dst_indices == v)).any()
      )
  
imports: from __future__ import annotations
  import operator
  from copy import deepcopy
  from typing import TYPE_CHECKING
  import cupy
  import networkx
  import numpy
  import pylibcugraph
  import nx_cugraph
  from ..utils import index_dtype
label_desc: Use image node_id 23 for calling the Graph obj's underlying member method code with example usage: obj.has_edge(u, v) and returns: bool, False