private boolean shouldDetectConflicts() {
    if (!myOptions.SHOW_DIALOG && !myOptions.HIGHLIGHT_CONFLICTS) return false;
    if (!myChangeListManager.areChangeListsEnabled()) return false;

    AbstractVcs[] activeVcss = ProjectLevelVcsManager.getInstance(myProject).getAllActiveVcss();
    if (activeVcss.length == 0) return false;

    boolean onlyPartialChangelists = LineStatusTrackerManager.getInstance(myProject).arePartialChangelistsEnabled() &&
                                     ContainerUtil.all(activeVcss, vcs -> vcs.arePartialChangelistsSupported());
    return !onlyPartialChangelists;
  }
private boolean shouldDetectConflicts()