code: def labels(self, o) -> List[int]:
      labels = []
      for shape in o["regions"]:
          label = self._get_label(o, shape["region_attributes"])
          if label in self.class_map._class2id:
              labels.append(label)
      return labels
  
imports: from icevision.imports import *
  from icevision.core import *
  from icevision.utils import *
  from icevision.parsers.parser import *
label_desc: Use image node_id 10 for calling the VIABaseParser obj's underlying member method code with example usage: obj.labels(o) and returns: labels