private function foundErrors()
    {
        $page = $this->getSession()->getPage();
        $element = $page->find('css', '.is-error');

        return $element != null;
    }
private function foundErrors()
    {
        $page = $this->getSession()->getPage();
        $element = $page->find('css', '.is-error');

        return $element != null;
    }
private function foundErrors ( ) { $ page = $ this -> getSession ( ) -> getPage ( ) ; $ element = $ page -> find ( 'css' , '.is-error' ) ; return $ element != null ; }
Helper function, returns true if errors are found in the page, false otherwise.
Helper function returns true if errors are found in the page false otherwise .