FwupdPlugin.Context.has_hwid_flag

### Method

# FwupdPlugin Contexthas_hwid_flag

since: 1.7.2

#### Declaration [src]

    gboolean
    fu_context_has_hwid_flag (
      FuContext* self,
      const gchar* flag
    )

#### Description [src]

Returns if a HwId custom flag exists, typically added from a DMI quirk.

Available since: 1.7.2

#### Parameters

`flag`

  Type: `const gchar*`

  Flag, e.g. `use-legacy-bootmgr-desc`.

  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 the flag exists.