class_docstr: This is the base class for different style enumerations
code: def ansi(self):
      if self.value is None:
          return f"\33[{_ANSI_CODES['normal']}m"
      elif type(self.value) == str:
          return f"\33[{_ANSI_CODES[self.value]}m"
      elif type(self.value) == list:
          return "".join([f"\33[{_ANSI_CODES[v]}m" for v in self.value])
      else:
          assert False
  
imports: from enum import Enum
label_desc: Use image node_id 1 for calling the StyleCode obj's underlying member method code with example usage: obj.ansi() and returns: str, _ANSI_CODES, str, str, _ANSI_CODES, str, str