ate static boolean isSealed(@Nullable PsiClass psiClass) {
    return psiClass != null && (psiClass.hasModifierProperty(SEALED) || psiClass.getPermitsList() != null);
  }

  
ate static boolean isSealed(@Nullable PsiClass psiClass) {
 