/** * @return bool */ public function isCancelled() { return !$this->isPending() && $this->result->isCancelled(); }