Returns a Bool if exists in SharedPref
These codes are from nb_utils package.
bool getBoolAsync(String key, {bool defaultValue = false}) { return sharedPreferences.getBool(key) ?? defaultValue; }