original_string: public function requestHasToken($key)
      {
          $token = $this->request->input($key, null);
          
          if($token && $token === $this->getToken($key))
          {
              return true;
          }
  
          return false;
      }
code: public function requestHasToken($key)
      {
          $token = $this->request->input($key, null);
          
          if($token && $token === $this->getToken($key))
          {
              return true;
          }
  
          return false;
      }
code_tokens: public function requestHasToken ( $ key ) { $ token = $ this -> request -> input ( $ key , null ) ; if ( $ token && $ token === $ this -> getToken ( $ key ) ) { return true ; } return false ; }
docstring: Checks if the request has the token
  
  @param string $key
  @return bool
docstring_tokens: Checks if the request has the token