code: def verify_load_input_names(
      run_name: Optional[str] = None,
      experiment_name: Optional[str] = None,
  ):
      """Verify the run_name and the experiment_name inputs in load_run.
  
      Args:
          run_name (str): The run_name supplied by the user (default: None).
          experiment_name (str): The experiment_name supplied by the user
              (default: None).
  
      Raises:
          ValueError: If run_name is supplied while experiment_name is not.
      """
      if not run_name and experiment_name:
          logging.warning(
              "No run_name is supplied. Ignoring the provided experiment_name "
              "since it only takes effect along with run_name. "
              "Will load the Run object from the job environment or current Run context."
          )
      if run_name and not experiment_name:
          raise ValueError(
              "Invalid input: experiment_name is missing when run_name is supplied. "
              "Please supply a valid experiment_name when the run_name is not None."
          )
  
imports: from __future__ import absolute_import
  import logging
  import os
  import mimetypes
  import urllib
  from functools import wraps
  from typing import Optional
  from sagemaker import Session
  from sagemaker.apiutils import _utils
  from sagemaker.experiments._environment import _RunEnvironment, _EnvironmentType
  from sagemaker.experiments.trial_component import _TrialComponent
  from sagemaker.utilities.search_expression import Filter, Operator, SearchExpression
  from sagemaker.utils import retry_with_backoff
label_desc: Use image node_id 7 for calling a global function with example usage: verify_load_input_names(run_name, experiment_name) without return types