code: public boolean isFinished()
  	{
  		if (finished)
  			return true;
  
  		try
  		{
  			final int code = exitCode();
  
  			finished(code);
  
  			return true;
  		}
  		catch (IllegalThreadStateException e)
  		{
  			return false;
  		}
  	}
docs: Determines if the application has completed yet
  
  @return true if the process has terminated, otherwise false