code: def load_lib():
      global _gdal
      try:
          import osgeo.gdal as _gdal
      except ImportError:
          raise ImportError(
              "The GDAL format relies on the GDAL package."
              "Please refer to http://www.gdal.org/"
              "for further instructions."
          )
      return _gdal
  
imports: from ..core import Format, has_module
label_desc: Use image node_id 1 for calling a global function with example usage: load_lib() and returns: _gdal