replace with

>if(istype(T))