/** * Determine if the model has any validation errors. * * @return boolean */ public function hasErrors() { return $this->errors->any(); }