boolean (@NotNull Editor editor, @NotNull Caret caret, DataContext dataContext) { LookupImpl lookup = (LookupImpl)LookupManager.getActiveLookup(editor); return lookup != null || (myOriginalHandler != null && myOriginalHandler.isEnabled(editor, caret, dataContext)); }