code: def _compute_path(
      base_dir: PathLike, element: PathLike, check_path: bool = False
  ) -> str:
      ...
  
file_path: MONAI/monai/data/decathlon_datalist.py
imports: from __future__ import annotations
  import json
  import os
  import warnings
  from collections.abc import Sequence
  from pathlib import Path
  from typing import overload
  from monai.config import KeysCollection, PathLike
  from monai.data.utils import partition_dataset, select_cross_validation_folds
  from monai.utils import ensure_tuple
label_desc: Use image node_id 1 for calling a global function with example usage: _compute_path(base_dir, element, check_path) without return types