---
title: isCancelled
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchquery/iscancelled
---

# isCancelled

A Boolean value that indicates whether the current query is no longer running.

## Declaration

```swift
var isCancelled: Bool { get }
```

## Discussion

Discussion The value of this property is true if you canceled it, and false if it’s still running or able to run.

## See Also

### Executing the query with handler blocks

- [start()](corespotlight/cssearchquery/start().md)
- [cancel()](corespotlight/cssearchquery/cancel().md)
- [foundItemCount](corespotlight/cssearchquery/founditemcount.md)
- [foundItemsHandler](corespotlight/cssearchquery/founditemshandler.md)
- [completionHandler](corespotlight/cssearchquery/completionhandler.md)
