isEnded method

bool isEnded()

Implementation

bool isEnded() {
  switch (_status) {
    case C.statusCanceled:
    case C.statusTerminated:
      return true;
    default:
      return false;
  }
}