Snapd.Connection.has_plug_attribute

### Method

# Snapd Connectionhas_plug_attribute

since: 1.48

#### Declaration [src]

    gboolean
    snapd_connection_has_plug_attribute (
      SnapdConnection* connection,
      const gchar* name
    )

#### Description [src]

Check if the connected plug has an attribute.

Available since: 1.48

#### Parameters

`name`

  Type: `const gchar*`

  An attribute name.

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

#### Return value

Type: `gboolean`

`TRUE` if this attribute exists.