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

            dataStore?.remoteNotificationsController.start()
        }
        get {
            assert(Thread.isMainThread)
            assert(dataStore != nil)
            guard let keyValue = dataStore?.viewContext.wmf_keyValue(forKey: madeAuthorizedWikidataDescriptionEditKey) else {
                return false
            }

            }
            return value.boolValue
        }
    }

    private func assertMainThreadAndDataStore() {
        assert(Thread.isMainThread)
        assert(dataStore != nil)
    }
}

