pub fn is_visible(window: &WebviewWindow) -> bool
Best-effort visibility check; treats an error resolving visibility as “not visible” so callers default to showing the window.