Add istype opcode and support for is checks