code: def type(validator, types, instance, schema):
      types = ensure_list(types)
  
      if not any(validator.is_type(instance, type) for type in types):
          yield ValidationError(types_msg(instance, types))
  
imports: import re
  from jsonschema._utils import ensure_list, equal, extras_msg, find_additional_properties, types_msg, unbool, uniq
  from jsonschema.exceptions import FormatError, ValidationError
  from jsonschema.compat import iteritems
label_desc: Use image node_id 23 for calling a global function with example usage: type(validator, types, instance, schema) without return types