original_string: public function hasValidationErrors(FormRuntime $formRuntime, RootRenderableInterface $element): bool
      {
          return $this->getValidationResult($formRuntime, $element)->hasErrors();
      }
code: public function hasValidationErrors(FormRuntime $formRuntime, RootRenderableInterface $element): bool
      {
          return $this->getValidationResult($formRuntime, $element)->hasErrors();
      }
code_tokens: public function hasValidationErrors ( FormRuntime $ formRuntime , RootRenderableInterface $ element ) : bool { return $ this -> getValidationResult ( $ formRuntime , $ element ) -> hasErrors ( ) ; }
docstring: Whether the given Form Element has validation errors
  
  @param FormRuntime $formRuntime
  @param RootRenderableInterface $element
  @return bool
docstring_tokens: Whether the given Form Element has validation errors