tolerant_isinstance
