### Method

# Gio ActionGroup has_action

since: 2.28

#### Declaration

    gboolean
    g_action_group_has_action (
      GActionGroup* action_group,
      const gchar* action_name
    )

#### Description

Checks if the named action exists within `action_group`.

Available since: 2.28

#### Parameters

`action_name`

  Type: `const gchar*`

  The name of the action to check for.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `gboolean`

Whether the named action exists.