original_string: public function has($name)
      {
          $names = is_array($name) ? $name : func_get_args();
  
          foreach ($names as $value) {
              if (! $this->routes->hasNamedRoute($value)) {
                  return false;
              }
          }
  
          return true;
      }
code: public function has($name)
      {
          $names = is_array($name) ? $name : func_get_args();
  
          foreach ($names as $value) {
              if (! $this->routes->hasNamedRoute($value)) {
                  return false;
              }
          }
  
          return true;
      }
code_tokens: public function has ( $ name ) { $ names = is_array ( $ name ) ? $ name : func_get_args ( ) ; foreach ( $ names as $ value ) { if ( ! $ this -> routes -> hasNamedRoute ( $ value ) ) { return false ; } } return true ; }
docstring: Check if a route with the given name exists.
  
  @param  string  $name
  @return bool
docstring_tokens: Check if a route with the given name exists .