code: def __init__(self, name, opts):
      self.fieldName = name
      ptree.types.SimpleParameter.__init__(
          self,
          name=name,
          autoIncrementName=True,
          type="bool",
          value=True,
          removable=True,
          renamable=True,
      )
      self.setEnumVals(opts)
  
imports: from collections import OrderedDict
  import numpy
  from ..None import functions
  from ..None import parametertree
  from ..Qt import QtCore
label_desc: Use image node_id 1 to create a new EnumFilterItem object from inherited base classes: ptree.types with example: obj = EnumFilterItem(name, opts)