boolean (@NotNull Project project, @NotNull Editor editor, @NotNull final PsiFile file) { final Language language = PsiUtilCore.getLanguageAtOffset(file, editor.getCaretModel().getOffset()); return ShowParameterInfoHandler.getHandlers(project, language, file.getViewProvider().getBaseLanguage()).length != 0; }