code: def set_perform_initial_validation(
      config: Dict[Any, Any], init_val: bool
  ) -> Dict[Any, Any]:
      config = config.copy()
      config["perform_initial_validation"] = init_val
      return config
  
imports: import os
  from pathlib import Path
  from typing import Any, Dict, List, Union
  from determined.common import api, util
  from determined.common.api import authentication
label_desc: Use image node_id 25 for calling a global function with example usage: set_perform_initial_validation(config, init_val) and returns: config