# tui/dock/focused?
True when the calling panel's dock holds keyboard focus.
## Syntax
[tui/dock/focused?]
## Examples
if [tui/dock/focused?] { [draw/text $ctx 0 0 "dock input" "#ff0"] }
## Returns
bool — false when no workspace/panel is available, the panel isn't a live grid leaf, the dock is closed, or focus sits on the panel content. Reads the landed state immediately, unlike `tui/dock/focus` / `tui/dock/blur`, which only queue a request.
## See Also
`tui/dock/focus`, `tui/dock/blur`, `tui/dock/state`