Gio.DBusMessage.prototype.get_locked

function get_locked(): Boolean {
    // Gjs wrapper for g_dbus_message_get_locked()
}
  

Checks whether message is locked. To monitor changes to this value, conncet to the GObject.Object::notify signal to listen for changes on the Gio.DBusMessage.locked property.

Since 2.26

Returns

true if message is locked, false otherwise.