Gtk.Action.prototype.is_sensitive

function is_sensitive():Boolean {
    // Gjs wrapper for gtk_action_is_sensitive()
}

Returns whether the action is effectively sensitive.

Since 2.4

Returns

true if the action and its associated action group are both sensitive.