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

@param FormRuntime $formRuntime
@param RootRenderableInterface $element
@return bool
Whether the given Form Element has validation errors