@Override public boolean isPrepared(){
  return !dirty && (agent == null || !agent.isDone());
}

@ Override public boolean isPrepared ( ) { return ! dirty && ( agent == null || ! agent . isDone ( ) ) ; }
checks whether simulation can be started .
