original_string: protected function shouldUsePostData()
      {
          if (!isset($this->postData)) {
              return false;
          }
          
          $contentType = $this->getContentType();
          
          return
              in_array($contentType, ['application/x-www-form-urlencoded', 'multipart/form-data']) ||
              empty($contentType) && !array_key_exists('SERVER_PROTOCOL', $this->getServerParams());
      }
code: protected function shouldUsePostData()
      {
          if (!isset($this->postData)) {
              return false;
          }
          
          $contentType = $this->getContentType();
          
          return
              in_array($contentType, ['application/x-www-form-urlencoded', 'multipart/form-data']) ||
              empty($contentType) && !array_key_exists('SERVER_PROTOCOL', $this->getServerParams());
      }
code_tokens: protected function shouldUsePostData ( ) { if ( ! isset ( $ this -> postData ) ) { return false ; } $ contentType = $ this -> getContentType ( ) ; return in_array ( $ contentType , [ 'application/x-www-form-urlencoded' , 'multipart/form-data' ] ) || empty ( $ contentType ) && ! array_key_exists ( 'SERVER_PROTOCOL' , $ this -> getServerParams ( ) ) ; }
docstring: Check if we should use post data rather than parsing the body
  
  @return boolean
docstring_tokens: Check if we should use post data rather than parsing the body