      */
     @objc public var isLoggedIn: Bool {
         return (loggedInUsername != nil)
+    }
+
+    private var loggedInURLs = Set<URL>()
+    public func isLoggedIn(at loginURL: URL) -> Bool {
+        return loggedInURLs.contains(loginURL)
     }
 
     @objc public var hasKeychainCredentials: Bool {

        KeychainCredentialsManager.shared.username = nil
        KeychainCredentialsManager.shared.password = nil
        self.loggedInUsername = nil
        // Cookie reminders:
        //  - "HTTPCookieStorage.shared.removeCookies(since: Date.distantPast)" does NOT seem to work.
        HTTPCookieStorage.shared.cookies?.forEach { cookie in

            self.accountLogin.login(username: username, password: password, retypePassword: retypePassword, loginToken: tokenBlock.token, oathToken: oathToken, captchaID: captchaID, captchaWord: captchaWord, siteURL: siteURL, success: {result in
                let normalizedUserName = result.username
                self.loggedInUsername = normalizedUserName
                self.loggedInURLs.insert(siteURL)
                KeychainCredentialsManager.shared.username = normalizedUserName
                KeychainCredentialsManager.shared.password = password
                self.cloneSessionCookies()
