Fix check/accepts non-cache case of istype.