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