code: def _maybe_extract(target_dir, extracted_data, archive_path):
      # If target_dir/extracted_data does not exist, extract archive in target_dir
      extracted_path = os.join(target_dir, extracted_data)
      if not os.path.exists(extracted_path):
          print(
              'No directory "%s" - extracting archive...'
              % extracted_path
          )
          with tarfile.open(archive_path) as tar:
              tar.extractall(target_dir)
      else:
          print(
              'Found directory "%s" - not extracting it from archive.'
              % extracted_path
          )
  
file_path: DeepSpeech/bin/import_cv.py
imports: import csv
  import os
  import sys
  import subprocess
  import tarfile
  from glob import glob
  from multiprocessing import Pool
  import progressbar
  import sox
  from deepspeech_training.util.downloader import SIMPLE_BAR, maybe_download
  from deepspeech_training.util.importers import get_counter, get_imported_samples, print_import_report
  from deepspeech_training.util.importers import validate_label_eng
label_desc: Use image node_id 2 for calling a global function with example usage: _maybe_extract(target_dir, extracted_data, archive_path) without return types