public function dispatched()
    {
        // Only finished or failed jobset should be dispatched
        if ($this->isFinished() || $this->isFailed()) {
            $status = $this->isFinished() ?
                JobsConst::JOB_SET_STATUS_FINISHED_AND_DISPATCHED : JobsConst::JOB_SET_STATUS_FAILED_AND_DISPATCHED;

            return $this->model->updateStatus($status);
        }

        return false;
    }