public boolean isTerminated() {
    return terminated;
  }
Defines the various states that a {@link TaskExecution}
can be in at any give moment in time.

@author Arik Cohen
src/main/java/com/creactiviti/piper/core/task/TaskStatus.java