public Boolean hasBeenStopped(){
  return stopped.get();
}

public Boolean hasBeenStopped ( ) { return stopped . get ( ) ; }
this method can be used to check if the environment has been stopped prematurely by e . g . a timeout .
