android :: SharedPreferences :: has
# Returns true if there's an entry corresponding the given key fun has(key: String): Bool do sys.jni_env.push_local_frame(2) var return_value = shared_preferences.contains(key.to_java_string) sys.jni_env.pop_local_frame return return_value end