Whether the cancel() method has already been called and the cancellation logic successfully executed.
cancel()