code: def _get_available_splits(cfg: AttrDict):
      return [
          key for key in cfg.DATA if key.lower() in ["train", "test"]
      ]
  
imports: import logging
  import tempfile
  from typing import Any, Callable, List
  import torch
  from iopath.common.file_io import g_pathmgr
  from vissl.config import AttrDict
  from vissl.data.dataset_catalog import get_data_files
  from vissl.engines import run_engine
  from vissl.hooks import ClassyHook, default_hook_generator
  from vissl.utils.checkpoint import get_checkpoint_folder, get_resume_checkpoint, is_training_finished
  from vissl.utils.env import set_env_vars
  from vissl.utils.io import cleanup_dir, copy_data_to_local, makedir
  from vissl.utils.logger import setup_logging, shutdown_logging
  from vissl.utils.misc import get_dist_run_id
  from vissl.utils.slurm import get_node_id
label_desc: Use image node_id 1 for calling a global function with example usage: _get_available_splits(cfg) and returns: unknown