code: def lookup(self, obj):
      """Looks up 'obj'.
  
      Args:
        obj: The object to lookup within the registry.
  
      Returns:
        Value for 'obj' in the registry if found.
      Raises:
        LookupError: if 'obj' has not been registered.
      """
      for registered in self._registry:
          if isinstance(obj, registered):
              return self._registry[registered]
  
      raise LookupError(f"{type(obj)} has not been registered.")
  
label_desc: Use image node_id 3 for calling the TypeRegistry obj's underlying member method code with example usage: obj.lookup(obj) and returns: self