> ## Documentation Index
> Fetch the complete documentation index at: https://ctrlrun-release-0-10-0.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# effect_state

> The rule (SPEC-v0.7 §2.1): `FAILED` for `NEVER_CONNECTED`, `AMBIGUOUS` for everything else.

`ctrlrun.transport.effect_state` — function, defined at `src/ctrlrun/transport.py:95`

```python theme={null}
from ctrlrun.transport import effect_state
```

```python theme={null}
def effect_state(observed: Transport) -> EffectState
```

The rule (SPEC-v0.7 §2.1): `FAILED` for `NEVER_CONNECTED`, `AMBIGUOUS` for everything else.

Decided by identity, so a string that merely equals a member's value is `AMBIGUOUS`.

## Next

* [Python API index](/docs/reference/api/index).
* [Get started](/docs/get-started/quickstart) · [Why](/docs/why).
