code: def check_has_set(ndf, parent, child):
      ckey = in_cluster_store_keys(ndf, child)
      pkey = in_cluster_store_keys(ndf, parent)
  
      if ckey and pkey:
          return True
      return False
  
imports: from typing import Union, Optional, List
  import copy, logging, pandas, numpy
  from graphistry.PlotterBase import Plottable
label_desc: Use image node_id 12 for calling a global function with example usage: check_has_set(ndf, parent, child) and returns: False, True