pub fn is_main_window(args: &Value) -> Value
Check if this is the main window. The frontend passes its own label (extracted from URL params) as an arg.