code: def get_current_dist_strategy() -> DistributedStrategy:
      if _current_strategy is None:
          raise RuntimeError("Distributed strategy not initialized")
      return _current_strategy
  
file_path: ludwig/ludwig/distributed/__init__.py
imports: from typing import Any, Dict, Type, Union
  from ludwig.distributed.base import DistributedStrategy, LocalStrategy
label_desc: Use image node_id 7 for calling a global function with example usage: get_current_dist_strategy() and returns: _current_strategy