@Override
          public int compare(DesiredConfig o1, DesiredConfig o2) {
            if (o1.getVersion() < o2.getVersion()) {
              return -1;
            }

            if (o1.getVersion() > o2.getVersion()) {
              return 1;
            }

            return 0;
          }
Verifies if the given cluster has at least one desired configuration transitioned through
TopologyManager.INITIAL -> .... -> TopologyManager.TOPOLOGY_RESOLVED -> ....
@param clusterId the identifier of the cluster to be checked
@return true if the cluster
ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java