> 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_expression.md).

# Instruction.is\_expression()

`is_expression()` -> `bool`

## Query Example

```python
from glider import *

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

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)`]`

## Output Example

<figure><img src="/files/QjmS83qgZAbvzbssNAxR" alt=""><figcaption></figcaption></figure>
