code: def _validate_input_dict(input_dict: typing_utils.ArtifactMultiMap):
      """Checks that the input_dict is properly formatted."""
      if not input_dict:
          raise exceptions.SkipSignal()
  
      valid_keys = {ops_utils.MODEL_KEY, ops_utils.EXAMPLES_KEY}
      ops_utils.validate_input_dict(
          input_dict, valid_keys, requires_all=True
      )
  
      if (
          not input_dict[ops_utils.MODEL_KEY]
          or not input_dict[ops_utils.EXAMPLES_KEY]
      ):
          raise exceptions.SkipSignal()
  
file_path: tfx/tfx/dsl/input_resolution/ops/span_driven_evaluator_inputs_op.py
imports: from typing import Dict, List, Optional
  from tfx import types
  from tfx.dsl.input_resolution import resolver_op
  from tfx.dsl.input_resolution.ops import ops_utils
  from tfx.dsl.input_resolution.ops import training_range_op
  from tfx.orchestration.portable.input_resolution import exceptions
  from tfx.utils import typing_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _validate_input_dict(input_dict) without return types