Added hasErrors() method