Checks if this has the given name.
name
This function is usually used to check the name of a custom message.
The Message.
name to check
true if name matches the name of the message structure.
true