code: def getSegmentationName(self, obj: dict) -> dict:
      if self.hasKeyFinal(obj):
          return self.getValueByKey(
              self.dataStoreKeys.SEGMENTATION_NAME_BY_FINAL, obj
          )
      if self.hasKeyOriginal(obj):
          return self.getValueByKey(
              self.dataStoreKeys.SEGMENTATION_NAME_BY_ORIGINAL, obj
          )
  
imports: from typing import Dict, List
  from MONAILabelReviewerLib.DataStoreKeys import DataStoreKeys
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.MONAILabelReviewerEnum import Label
  from MONAILabelReviewerLib.SegmentationMeta import SegmentationMeta
label_desc: Use image node_id 20 for calling the JsonParser obj's underlying member method code with example usage: obj.getSegmentationName(obj) and returns: self, self