code: def is_complex(t):
      complex_types_set = (complex64, complex128)
      return (t in complex_types_set) or isinstance(
          t, complex_types_set
      )
  
imports: import numpy
  from coremltools import _logger
  from .annotate import annotate, class_annotate, delay_type
  from .type_bool import bool
  from .type_spec import Type
label_desc: Use image node_id 2 for calling a global function with example usage: is_complex(t) and returns: unknown