public function hasError($name) { if (!isset($this->errorStore)) { return false; } return $this->errorStore->hasError($name); }