boolean (@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) { ParagraphFillHandler handler = LanguageFillParagraphExtension.INSTANCE.forLanguage(file.getLanguage()); return handler != null && handler.isAvailableForFile(file); }