boolean (@NotNull DataContext dataContext) { if (myConfigurable.getSingleContextGroup() == null) return false; String s = CopyPasteManager.getInstance().getContents(DataFlavor.stringFlavor); return s != null && s.trim().startsWith("<template "); }