'Genereate Cython code for instance checks, matching an object to
specialized types.'

def _fused_instance_checks(self, normal_types, pyx_code, env):

    for specialized_type in normal_types:
        pyx_code.context.update(py_type_name=specialized_type.py_type_name(), specialized_type_name=specialized_type.specialization_string)
        pyx_code.put_chunk(u"\n                                                                                if    isinstance(arg,    {{py_type_name}}):\n                                                                                                dest_sig[{{dest_sig_idx}}]    =    '{{specialized_type_name}}';    break\n                                                                ")
