are both visible.
Action.isVisible
bool isVisible()Returns whether the action is effectively visible.
Returns
true if the action and its associated action group
Deprecated
Use #GAction instead, and control and monitor the state of
#GtkActionable widgets directly