code: def _ensure_initialized():
      if not _initialized:
          raise AssertionError(
              "Hail benchmark environment not initialized. "
              "Are you running benchmark from the main module?"
          )
  
imports: import timeit
  import contextlib
  import hail
  import logging
  import os
  import re
  import shutil
  import signal
  from py4j.protocol import Py4JError
  from .resources import all_resources
label_desc: Use image node_id 6 for calling a global function with example usage: _ensure_initialized() without return types