code: def load_configs(configs_path: Path):
      if not configs_path.exists():
          return None
  
      with open(str(configs_path), "r") as file:
          configs = util.yaml_load(file.read())
  
      return configs
  
imports: from pathlib import Path
  from typing import Dict, Union, Optional, List
  from labml.internal import util
  from .base import Configs
  from .utils import Value
label_desc: Use image node_id 1 for calling a global function with example usage: load_configs(configs_path) and returns: configs, None