Added Form.containsErrors().