isCancelled

open fun isCancelled(): Boolean

Return

true if the task was cancelled, false otherwise.