original_string: private function isPathAccessible($path)
      {
          $uri = $this->httpUtils->generateUri($this->requestStack->getMasterRequest(), $path);
  
          /** @var \Buzz\Message\Response $res */
          $res = $this->browser->get($uri);
          if ($res->isSuccessful()) {
              return true;
          }
  
          return false;
      }
code: private function isPathAccessible($path)
      {
          $uri = $this->httpUtils->generateUri($this->requestStack->getMasterRequest(), $path);
  
          /** @var \Buzz\Message\Response $res */
          $res = $this->browser->get($uri);
          if ($res->isSuccessful()) {
              return true;
          }
  
          return false;
      }
code_tokens: private function isPathAccessible ( $ path ) { $ uri = $ this -> httpUtils -> generateUri ( $ this -> requestStack -> getMasterRequest ( ) , $ path ) ; /** @var \Buzz\Message\Response $res */ $ res = $ this -> browser -> get ( $ uri ) ; if ( $ res -> isSuccessful ( ) ) { return true ; } return false ; }
docstring: Returns whether the given path is accessible through http or not.
  
  @param $path
  @return bool
docstring_tokens: Returns whether the given path is accessible through http or not .