code: def _get_option_value(self, key):
          
          fn_name = "set_{}_value".format(key)
          if key in self.overrides:
              val = self.overrides[key]
          elif hasattr(self, fn_name):
              val = getattr(self, fn_name)()
          else:
              val = self.defaults[key]["d"]
  
          if self.defaults[key]["t"] == constants.FT_PARAM:
              return val.split("|")
          else:
              return val
docs: Get option value(s), or use default value if no override value.
  
          Two output values for 'p' type values (parameters), else one.
          Returns a single value or tuple of two values