code: def _get_exp_parent_id(exp: dict):
      """Get experiment parent ID or None if unavailable"""
      return exp.get("refers", {}).get("parent_id", None)
  
imports: import logging
  import os
  import shutil
  from typing import Any, Dict, List
  from orion.core.io.database import DatabaseError
  from orion.core.io.database.pickleddb import PickledDB
  from orion.core.utils import generate_temporary_file
  from orion.core.utils.tree import TreeNode
  from orion.storage.base import BaseStorageProtocol, setup_storage
label_desc: Use image node_id 15 for calling a global function with example usage: _get_exp_parent_id(exp) and returns: exp