> For the complete documentation index, see [llms.txt](https://docs.pylenium.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pylenium.io/element-commands/element-data/is_selected.md).

# is\_selected

## Syntax

```python
Element.is_selected() -> bool
```

## Usage

{% code title="correct usage" %}

```python
py.get(".option").is_selected()
```

{% endcode %}

## Arguments

* None

## Yields

* <mark style="color:orange;">**bool**</mark> - True if the element is selected, else False
