Appium introduced a feature to collect details of webview using mobile command mobile:getContexts. Using this feature i want to rule out the detached window from the webview so i can switch to the actual needed window. How do i do that in java? how do i filter the response of driver.executeScript("mobile:getContexts") and validate the value of key attached. Thank you.