public boolean isSetupMode() {
        return getXMPPServer().isSetupMode();
    }
@return {@code true} if the Openfire container is in setup mode, {@code false} otherwise.
xmppserver/src/main/java/org/jivesoftware/util/WebManager.java