isComplete

Indicates that the task/stage/pipeline has finished its work (successfully or not).

final boolean isComplete()