Gio.Settings.prototype.is_writable

function is_writable(name: String): Boolean {
    // Gjs wrapper for g_settings_is_writable()
}
  

Finds out if a key can be written or not

Since 2.26

name

the name of a key

Returns

true if the key name is writable