public static boolean isClusteringStarted() {
        return clusteringStarted;
    }
Returns true if this node is currently a member of a cluster. The last step of application
initialization is to join a cluster, so this method returns false during most of application startup.

@return true if this node is currently a member of a cluster.
xmppserver/src/main/java/org/jivesoftware/util/cache/CacheFactory.java