
## HasFlag {#hasflag}

Returns true if "who" contains the "flag"

**Returns:** bool Aspose::Email::Clients::Imap::

```cpp
HasFlag(System::SharedPtr < ImapMessageFlags > what)
```

| Parameter | Description |
| --- | --- |
| what | Imap message flags |

