class_docstr: A module setting which holds a single string value
  
      
code: def to_dict(self, sanitize=False) -> dict:
      if sanitize and any(
          phrase in self.text.lower()
          for phrase in ("username", "password", "host")
      ):
          text = "[SensitiveSetting]:*****"
      else:
          text = self.text
      return {
          "name": ".".join(
              [self.__module__, self.__class__.__qualname__]
          ),
          "text": text,
          "value": self.unicode_value,
      }
  
imports: import abc
  import uuid
  from ._validation_error import ValidationError
label_desc: Use image node_id 2 for calling the Setting obj's underlying member method code with example usage: obj.to_dict(sanitize) and returns: dict