isCancelled

abstract fun isCancelled(): Boolean

Checks this task is cancelled

Return

whether to cancel