private static boolean isEnabledOnDataContext(@NotNull DataContext dataContext) {
    return RenameHandlerRegistry.getInstance().hasAvailableHandler(dataContext);
  }
private static boolean isEnabledOnDataContext(@NotNull DataContext dataContext)