> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/instruction/instruction.is_start_loop.md).

# Instruction.is\_start\_loop()

Returns true if the instruction is start\_loop instruction, otherwise returns false.

`is_start_loop()` -> `bool`

## Output Example

```python
from glider import *

def query():
  return Instructions().exec(1000).filter(lambda x: x.is_start_loop())
```

With the Glider 1.0 update, calling the [`exec`](/glider-ide/api/instructions/instructions.exec.md) function returns an [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Instruction`](/glider-ide/api/instruction.md)`]`. You can then use [`Instruction`](/glider-ide/api/instruction.md) functions, which are applied to each element of the [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Instruction`](/glider-ide/api/instruction.md)`]`

## Query Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FitJVoa4jzkAuxrMeCxLC%2Fimage.png?alt=media&amp;token=74894bc3-b6a1-44dc-87f1-ea1e23485c30" alt=""><figcaption></figcaption></figure>
