isCancelled

abstract fun isCancelled(): Boolean

Return

true if the task was cancelled, false otherwise.