is Error
decides if the ValidationMessage is an error which is needed to determine if validation is successful or not
Return
if it is an error or not
decides if the ValidationMessage is an error which is needed to determine if validation is successful or not
if it is an error or not