private boolean isStoppable(){
  return (isRunning() && getCache() != null);
}

private boolean isStoppable ( ) { return ( isRunning ( ) && getCache ( ) != null ) ; }
determines whether the server can be stopped in - process , such as when a server is embedded in an application and the serverlauncher api is being used .
