code: def _extract_coarse_annos(coarse_annos_zip_path, scratch_dir):
      tmp_dir = os.path.join(scratch_dir, "coarse-annos")
      coarse_annos_dir = os.path.join(tmp_dir, "gtCoarse")
  
      if not os.path.isdir(coarse_annos_dir):
          logger.info("Extracting coarse annotations...")
          etau.extract_zip(
              coarse_annos_zip_path, outdir=tmp_dir, delete_zip=False
          )
  
      return coarse_annos_dir
  
imports: import logging
  import os
  import eta.core.serial
  import eta.core.utils
  import fiftyone.core.dataset
  import fiftyone.core.fields
  import fiftyone.core.labels
  import fiftyone.core.media
  import fiftyone.core.sample
  import fiftyone.core.utils
  import fiftyone.utils.data
  import fiftyone.types
label_desc: Use image node_id 8 for calling a global function with example usage: _extract_coarse_annos(coarse_annos_zip_path, scratch_dir) and returns: coarse_annos_dir