Gtk.Action.prototype.get_visible

function get_visible():Boolean {
    // Gjs wrapper for gtk_action_get_visible()
}

Returns whether the action itself is visible. Note that this doesn't necessarily mean effective visibility. See Gtk.is_sensitive for that.

Since 2.4

Returns

true if the action itself is visible.