Fwupd.Device.has_flag

### Method

# Fwupd Devicehas_flag

#### Declaration [src]

    gboolean
    fwupd_device_has_flag (
      FwupdDevice* self,
      FwupdDeviceFlags flag
    )

#### Description [src]

Finds if the device has a specific device flag.

Available since: | 0.9.3

#### Parameters

`flag` | `FwupdDeviceFlags`
| The `FwupdDeviceFlags`.

#### Return value

Returns: | `gboolean`
| `TRUE` if the flag is set.