code: def getLabelById(self, labelIdx):
      for lab in self.labelList:
          if lab.idx == labelIdx:
              return lab
      return None
  
imports: import os.path
  from .None import colorMap
label_desc: Use image node_id 8 for calling the LabelList obj's underlying member method code with example usage: obj.getLabelById(labelIdx) and returns: None, lab