private void throwBeforeRouteMappingException() {
        throw new IllegalStateException(
                "This must be done before route mapping has begun");
    }
Waits for the spark server to be initialized.
If it's already initialized will return immediately
src/main/java/spark/Service.java