code: def is_initialized():
      """Is pynvml initialized on this process?"""
      return (
          NVML_STATE == NVMLState.INITIALIZED
          and NVML_OWNER_PID == os.getpid()
      )
  
imports: from __future__ import annotations
  import os
  from enum import IntEnum, auto
  from platform import uname
  from typing import NamedTuple
  from packaging.version import parse
  import dask
label_desc: Use image node_id 1 for calling a global function with example usage: is_initialized() and returns: unknown