Returns a new GError if the cancellable associated with the task
has been cancelled. If so, TRUE is returned, otherwise FALSE.
If the source object related to the task is an IdeObject and that
object has had been requested to destroy, it too will be considered
a cancellation state.