public hasMessages ()
Checks whether there are messages attached to the element
Please login to continue.
Please login to continue.