code: def _get_label(api, task_id, label=None):
      attr_id_map, class_id_map = api._get_attr_class_maps(task_id)
      if isinstance(label, str):
          label = class_id_map[label]
      else:
          label = list(class_id_map.values())[0]
      return label
  
imports: from bson import ObjectId
  from collections import defaultdict
  import numpy
  import os
  import unittest
  import eta.core.utils
  import fiftyone
  import fiftyone.utils.cvat
  import fiftyone.zoo
  from fiftyone.core.expressions import ViewField
label_desc: Use image node_id 5 for calling a global function with example usage: _get_label(api, task_id, label) and returns: label