ot::Message::IsMleCommand() const method
Indicates whether or not the message is a given MLE command. It checks `IsSubTypeMle()` and then if `GetMleCommand()` is the same as `aMleCommand`.
Arguments
aMleCommand
The MLE command type.
Return value
TRUE The message is an MLE command of @p aMleCommand type. FALSE The message is not an MLE command of @p aMleCommand type.