code: def __eq__(self, other):
      if not isinstance(other, self.__class__):
          return NotImplemented
      return self.data == set(map(ref, other))
  
imports: from _weakref import ref
  from types import GenericAlias
label_desc: Use image node_id 25 for calling the WeakSet obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, NotImplemented