isoftype -> istype