code: def monitor_singleton() -> Monitor:
      global _internal
      if _internal is None:
          _internal = Monitor()
  
      return _internal
  
imports: import typing
  from typing import Optional, List, Union, Tuple
  from .iterator import Iterator
  from .loop import Loop
  from .mix import Mix
  from .sections import Section, OuterSection
  from .time_recorder import TimeRecorder, Summary
  from ..logger import logger_singleton
  from ..logger.types import LogPart
  from ..tracker import tracker_singleton
  from ..util.colors import StyleCode
  from ...logger import Text
  from ...utils.notice import labml_notice
label_desc: Use image node_id 1 for calling a global function with example usage: monitor_singleton() and returns: _internal