# test.DaemonState.is_running

- **Module:** test.DaemonState
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/test.rs#L689
- **Page:** https://libtmux.org/en/rs/latest/reference/test-daemonstate-is_running/

```
test.DaemonState.is_running(self) -> bool
```

Whether the daemon has not exited.

[`DaemonState::Unreadable`] counts as not running: a fixture that
cannot prove its daemon is there has nothing to assert against.

## Example

```rust
let mut guard = libtmux::test::TestServer::new().await?;
assert!(guard.daemon_state().is_running());

guard.shutdown().await?;
```
