code: def _get_label(self, o, region_attributes: dict) -> str:
      label = region_attributes.get(self.label_field)
      if label is None:
          raise VIAParseError(
              f"Could not find label_field [{self.label_field}] while parsing [{self.record_id(o)}]"
          )
      elif not isinstance(label, str):
          raise VIAParseError(
              f"Non-string value found in label_field [{self.label_field}] while parsing [{self.record_id(o)}]"
          )
      return label
  
imports: from icevision.imports import *
  from icevision.core import *
  from icevision.utils import *
  from icevision.parsers.parser import *
label_desc: Use image node_id 9 for calling the VIABaseParser obj's underlying member method code with example usage: obj._get_label(o, region_attributes) and returns: label