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