code: def __getattr__(self, name):
      if name in self.__dict__:
          return self.__dict__[name]
      elif name in self:
          return self[name]
      else:
          raise AttributeError(name)
  
label_desc: Use image node_id 2 for calling the AttrDict obj's underlying member method code with example usage: obj.__getattr__(name) and returns: self, self