Simplify key check for Gio.Settings