class_docstr: This is the base class for different style enumerations
code: def html_close(self, text):
      if self.value is None:
          return ""
      elif type(self.value) == str:
          return _HTML_STYLES[self.value][1].format(text)
      elif type(self.value) == list:
          return "".join(
              [
                  _HTML_STYLES[v][1].format(text)
                  for v in reversed(self.value)
              ]
          )
      else:
          assert False
  
imports: from enum import Enum
label_desc: Use image node_id 3 for calling the StyleCode obj's underlying member method code with example usage: obj.html_close(text) and returns: str, _HTML_STYLES, str