code: def get_value(cls, item):
      """Validate incoming item and raise a ValueError with valid options if not present."""
      try:
          return cls[item].value
      except KeyError:
          valid_options = {e.name for e in cls}
          raise ValueError(
              "'{}' is not a valid option, must be one of '{}'".format(
                  item, "', '".join(valid_options)
              )
          )
  
label_desc: Use image node_id 1 for calling the ParamEnum obj's underlying member method code with example usage: obj.get_value(cls, item) and returns: cls