code: def has(self, a, b, are_mutually_exclusive):
      first = self._data.get(a)
      result = first and first.get(b)
      if result is None:
          return False
  
      # are_mutually_exclusive being false is a superset of being true,
      # hence if we want to know if this PairSet "has" these two with no
      # exclusivity, we have to ensure it was added as such.
      if not are_mutually_exclusive:
          return not result
  
      return True
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/pair_set.py
label_desc: Use image node_id 5 for calling the PairSet obj's underlying member method code with example usage: obj.has(a, b, are_mutually_exclusive) and returns: True, False, unknown