public static boolean isTaskManagerComboInToolbarEnabledAndVisible(LocalTask activeTask, TaskManager taskManager) {
    return !isOriginalDefault(activeTask) ||
           ContainerUtil.exists(taskManager.getAllRepositories(), repository -> !repository.isShared()) ||
           TaskSettings.getInstance().ALWAYS_DISPLAY_COMBO;
  }
public static boolean isTaskManagerComboInToolbarEnabledAndVisible(LocalTask activeTask, TaskManager taskManager)