bool isDone(double time)

Whether the simulation is "done" at the given time.

Source

bool isDone(double time);