> 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/function/function.is_private.md).

# Function.is\_private()

Returns true if the visibility of the function is private, otherwise returns false.

`is_private() → bool`

## Query Example

```python
from glider import *

def query():
    private_functions = (
      Functions()
      .exec(20)
      .filter(lambda x: x.is_private())
    )

    return private_functions
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F3aotZvTUysEyaVJMEEft%2FScreenshot%202025-08-15%20at%203.00.38%E2%80%AFPM.png?alt=media&amp;token=a2276e4a-fdbf-456d-bdfb-e880c8133be2" alt=""><figcaption></figcaption></figure>
