public static boolean hasMeaningfulChangelists(@NotNull Project project) {
    ChangeListManager changeListManager = ChangeListManager.getInstance(project);
    if (!changeListManager.areChangeListsEnabled()) {
      return false;
    }

    if (VcsApplicationSettings.getInstance().CREATE_CHANGELISTS_AUTOMATICALLY) {
      return true;
    }

    List<LocalChangeList> changeLists = changeListManager.getChangeLists();
    return changeLists.size() != 1 || !changeLists.get(0).isBlank();
  }
public static boolean hasMeaningfulChangelists(@NotNull Project project)