original_string: public function isQuery($key = null)
      {
          $value = $this->request->get($key);
  
          return !empty($value);
      }
code: public function isQuery($key = null)
      {
          $value = $this->request->get($key);
  
          return !empty($value);
      }
code_tokens: public function isQuery ( $ key = null ) { $ value = $ this -> request -> get ( $ key ) ; return ! empty ( $ value ) ; }
docstring: Whether a key is presented in the GET query
  @param string|null $key
  @return boolean
docstring_tokens: Whether a key is presented in the GET query