fun BrowserState.findPrivateTab(tabId: String): TabSessionState? { return privateTabs.firstOrNull { it.id == tabId } }
Finds and returns the private tab with the given id. Returns null if no matching tab could be found.