is_itype

dios.is_itype(obj, itype)

Check if obj is a instance of the given itype or its str-alias was given