---
title: isStopped
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsmetadataquery/isstopped
---

# isStopped

A Boolean value that indicates whether the query has stopped.

## Declaration

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

## Discussion

Discussion This property contains true when the receiver has stopped the query; otherwise, false.

## See Also

### Running queries

- [isStarted](foundation/nsmetadataquery/isstarted.md)
- [start()](foundation/nsmetadataquery/start().md)
- [isGathering](foundation/nsmetadataquery/isgathering.md)
- [stop()](foundation/nsmetadataquery/stop().md)
