public boolean isRunning() {
        return this.workerThread.isAlive();
    }
Determines whether the server is running or not.

@return True if server is running, false otherwise.
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/MockWebServer.java