class_docstr: Class which stores vertex and edge properties that can be used to construct
  Graphs from individual property selections and used later to annotate graph
  algorithm results with corresponding properties.
class_docstr_tok: ["Class","which","stores","vertex","and","edge","properties","that","can","be","used","to","construct","Graphs","from","individual","property","selections","and","used","later","to","annotate","graph","algorithm","results","with","corresponding","properties","."]
docstr: Checks for duplicate edges in the dataframe with the
  provided columns being equal as the criteria.
code: def _has_duplicates(cls, df, cols):
      """
      Checks for duplicate edges in the dataframe with the
      provided columns being equal as the criteria.
      """
      if df.empty:
          return False
      unique_pair_len = len(df[cols].drop_duplicates(ignore_index=True))
      # if unique_pairs == len(df)
      # then no duplicate edges
      return unique_pair_len != len(df)
  
imports: import cudf
  import numpy
  import cugraph
  from cugraph.utilities.utils import import_optional, MissingModule, create_list_series_from_2d_ar
  from typing import Union
label_desc: Use image node_id 40 for calling the EXPERIMENTAL__PropertyGraph obj's underlying member method code with example usage: obj._has_duplicates(cls, df, cols) and returns: unknown, False