is_itype

dios.is_itype(obj, itype)[source]

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