public boolean isStandAlone() {
        boolean standalone;
        try {
            standalone = Class.forName(STARTER_CLASSNAME) != null;
        }
        catch (ClassNotFoundException e) {
            standalone = false;
        }
        return standalone;
    }
Returns if the server is running in standalone mode. We consider that it's running in
standalone if the "org.jivesoftware.openfire.starter.ServerStarter" class is present in the
system.

@return true if the server is running in standalone mode.
xmppserver/src/main/java/org/jivesoftware/openfire/XMPPServer.java