boolean (@NotNull DataContext dataContext) { for (RenameHandler renameHandler : RenameHandler.EP_NAME.getExtensionList()) { if (renameHandler.isAvailableOnDataContext(dataContext)) return true; } return myDefaultElementRenameHandler.isAvailableOnDataContext(dataContext); }