code: def _getattr_from_dict(self, attrname: str, *, default=None):
      """Return self.attrname if attrname is in the instance dictionary
      (as oposed to on the type)."""
      if attrname in self.__dict__:
          return getattr(self, attrname)
      return default
  
label_desc: Use image node_id 1 for calling the ParameterBase obj's underlying member method code with example usage: obj._getattr_from_dict(attrname) and returns: default, getattr