feat(forms): introduce the control.hasError helper method