code: def get_parent_element(cfg):
      if (
          hasattr(cfg, "_parent_experiment")
          and cfg._parent_experiment != ""
      ):
          key = "Parent Experiment"
          value = cfg._parent_experiment
          return {key: value}
  
      return None
  
file_path: h2o-llmstudio/llm_studio/src/utils/config_utils.py
imports: import dataclasses
  import importlib
  from types import ModuleType
  from typing import Any, Dict, List, Type
  import yaml
  from llm_studio.python_configs.base import DefaultConfigProblemBase
  from llm_studio.src.utils.type_annotations import KNOWN_TYPE_ANNOTATIONS
label_desc: Use image node_id 7 for calling a global function with example usage: get_parent_element(cfg) and returns: None, dict