@Override
    public boolean isMessageCarbonsEnabled() {
        Cache<String,ClientSessionInfo> cache = SessionManager.getInstance().getSessionInfoCache();
		ClientSessionInfo sessionInfo = cache.get(getAddress().toString());
		return sessionInfo != null && sessionInfo.isMessageCarbonsEnabled();
    }
Surrogate for client sessions hosted in some remote cluster node.

@author Gaston Dombiak
xmppserver/src/main/java/org/jivesoftware/openfire/session/RemoteClientSession.java