Snapd.Slot.has_attribute

### Method

# Snapd Slothas_attribute

since: 1.3

#### Declaration [src]

    gboolean
    snapd_slot_has_attribute (
      SnapdSlot* slot,
      const gchar* name
    )

#### Description [src]

Check if this slot has an attribute.

Available since: 1.3

#### 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.