backcompat isinstance