public synchronized boolean isStandbyResourceUsed(String standbyContainerResourceID) {
      return this.selectedStandbyContainers.keySet().contains(standbyContainerResourceID);
    }
Encapsulates metadata concerning the failover of an active container.
samza-core/src/main/java/org/apache/samza/clustermanager/StandbyContainerManager.java