isError

abstract fun isError(): Boolean

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