code: def _get_config_class(name: any):
      if isinstance(name, ConfigItem):
          return name.configs_class
      elif (
          isinstance(name, list)
          and len(name) > 0
          and isinstance(name[0], ConfigItem)
      ):
          return name[0].configs_class
      else:
          return None
  
file_path: labml/client/labml/configs.py
imports: from typing import List, Callable, overload, Union, Tuple
  from labml.internal.configs.base import Configs
  from labml.internal.configs.config_item import ConfigItem
  from labml.utils.errors import ConfigsError
label_desc: Use image node_id 1 for calling a global function with example usage: _get_config_class(name) and returns: name, name, None