# Session.isAttached

- **Module:** Session
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Session.swift#L20
- **Page:** https://libtmux.org/reference/swift/session-isattached/

Whether any client is looking at this session. Opening a connection attaches one, so this reads differently from inside ``Server/connected(attachingTo:_:)`` — see <doc:Modes>.
