> 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/internal/callnode/callnode.is_function.md).

# CallNode.is\_function

Returns whether the node represents a function.

*`property`*` ``is_function : bool`

## Query Example

```python
from glider import *

def query():
    contracts = Contracts().exec(1,3)
    contract = contracts[0]

    call_nodes = contract.call_graph().all_nodes()
    call_node = call_nodes[13]
    
    print(f"Is call node {call_node.callable_name()} a function: {call_node.is_function}")
 
    return contracts
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FXTe1dOQ4L9BhmYEQektC%2FScreenshot%202025-09-10%20at%206.08.26%E2%80%AFPM.png?alt=media&amp;token=c395ca46-b1b9-4b15-ad0b-f209501c9c19" alt=""><figcaption></figcaption></figure>
