code: def is_type_cls(type_cls, field_type):
      if type(field_type) is set:
          return True
      types = tuple(field_type)
      if len(types) == 0:
          return False
      return issubclass(get_type(types[0]), type_cls)
  
imports: from pyrsistent._checked_types import CheckedPMap, CheckedPSet, CheckedPVector, CheckedType, InvariantException, _restore_pickle, get_type, maybe_parse_user_type, maybe_parse_many_user_types
  from pyrsistent._checked_types import optional
  from pyrsistent._checked_types import wrap_invariant
  import inspect
label_desc: Use image node_id 5 for calling a global function with example usage: is_type_cls(type_cls, field_type) and returns: issubclass, True, False