Looks up a boolean value in the keyfile backing
key is looked up in the “Desktop Entry” group.
The key to look up.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.