original_string: public function has($key)
      {
          $keys = is_array($key) ? $key : func_get_args();
  
          $input = $this->all();
  
          foreach ($keys as $value) {
              if (! Arr::has($input, $value)) {
                  return false;
              }
          }
  
          return true;
      }
code: public function has($key)
      {
          $keys = is_array($key) ? $key : func_get_args();
  
          $input = $this->all();
  
          foreach ($keys as $value) {
              if (! Arr::has($input, $value)) {
                  return false;
              }
          }
  
          return true;
      }
code_tokens: public function has ( $ key ) { $ keys = is_array ( $ key ) ? $ key : func_get_args ( ) ; $ input = $ this -> all ( ) ; foreach ( $ keys as $ value ) { if ( ! Arr :: has ( $ input , $ value ) ) { return false ; } } return true ; }
docstring: Determine if the request contains a given input item key.
  
  @param  string|array  $key
  @return bool
docstring_tokens: Determine if the request contains a given input item key .