code: def _is_type_match(v_type, v):
      if isinstance(v, int):
          return v_type == pipeline_pb2.RuntimeParameter.INT
      elif isinstance(v, float):
          return v_type == pipeline_pb2.RuntimeParameter.DOUBLE
      elif isinstance(v, str):
          return v_type == pipeline_pb2.RuntimeParameter.STRING
      else:
          raise RuntimeError(
              "Unexpected binding value type: %s" % type(v)
          )
  
file_path: tfx/tfx/orchestration/portable/runtime_parameter_utils.py
imports: from typing import Mapping, Optional, cast, Dict
  from tfx import types
  from tfx.orchestration import data_types_utils
  from tfx.proto.orchestration import pipeline_pb2
  from google.protobuf import descriptor
  from google.protobuf import message
label_desc: Use image node_id 1 for calling a global function with example usage: _is_type_match(v_type, v) and returns: unknown, unknown, unknown