public hasActiveTextInput() as Boolean:
Returns true when this widget currently owns an active text input.
Terminal uses this to keep text-editing keys routed to the active view instead of a docked pane while the user is editing an embedded prompt.