hasErrors

Returns true if at least one error has been recorded.

Return

Whether this collector contains any errors.