             }
             return value.boolValue
         }
+    }
+
+    private func assertMainThreadAndDataStore() {
+        assert(Thread.isMainThread)
+        assert(dataStore != nil)
     }
 }
 

    }

    @objc public func setBlacklistedLanguages(_ blacklistedLanguagesFromRemoteConfig: Array<String>) {
        assert(Thread.isMainThread)
        assert(dataStore != nil)
        let blacklistedLanguages = NSSet(array: blacklistedLanguagesFromRemoteConfig)
        dataStore?.viewContext.wmf_setValue(blacklistedLanguages, forKey: BlacklistedLanguagesKey)
    }

            dataStore?.remoteNotificationsController.start()
        }
        get {
            assertMainThreadAndDataStore()
            guard let keyValue = dataStore?.viewContext.wmf_keyValue(forKey: madeAuthorizedWikidataDescriptionEditKey) else {
                return false
            }
