code: def lab_singleton() -> Lab:
      global _internal
      if _internal is None:
          _internal = Lab()
  
      return _internal
  
imports: from copy import deepcopy
  from pathlib import Path
  from typing import Optional, Dict
  from labml.logger import Text
  from labml.utils import get_caller_file
  from labml.utils.notice import labml_notice
  from .None import util
  from .app.configs import AppTrackConfigs
  from .util import is_colab, is_kaggle
label_desc: Use image node_id 2 for calling a global function with example usage: lab_singleton() and returns: _internal