Determines if there is a message in the buffer.
Example:
<?php if (hasMessage()) message(); ?>
We've got all the documentation you'll need right here.