hasError

Whether the field currently has any validation errors.

This is a convenience property that returns true when the field has validation error messages, false otherwise. It's commonly used to conditionally apply error styling to UI components.