"Check if exception T (or a subclass)"