src/Jobs/DoormanQueuedJobTask.php
public function isCancelled()
    {
        $this->refreshDescriptor();

        // Treat completed jobs as cancelled when it comes to how Doorman handles picking up jobs to run
        $cancelledStates = [
            QueuedJob::STATUS_CANCELLED,
            QueuedJob::STATUS_COMPLETE,
        ];

        return in_array($this->descriptor->JobStatus, $cancelledStates, true);
    }
public function isCancelled()
    {
        $this->refreshDescriptor();

        // Treat completed jobs as cancelled when it comes to how Doorman handles picking up jobs to run
        $cancelledStates = [
            QueuedJob::STATUS_CANCELLED,
            QueuedJob::STATUS_COMPLETE,
        ];

        return in_array($this->descriptor->JobStatus, $cancelledStates, true);
    }
@inheritdoc

@return bool