> 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/variables/statevariables/statevariable/statevariable.is_public.md).

# StateVariable.is\_public()

`is_public() → bool`

## Query Example

```python
from glider import *


def query():
  state_variables = (
    StateVariables()
    .exec(30)
    .filter(lambda state_variable: state_variable.is_public())
  )

  print(state_variables[0].source_code())

  return state_variables
```

## Example Output

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