private boolean isLeakable(@Nullable PsiClass keyClass) {
      return exists(
        myBaseClasses,
        baseClass -> isInheritorOrSelf(keyClass, baseClass, true)
      );
    }
private boolean isLeakable(@Nullable PsiClass keyClass)