original_string: protected function isEmptyResponse(ResponseInterface $response)
      {
          if (method_exists($response, 'isEmpty')) {
              return $response->isEmpty();
          }
  
          return in_array($response->getStatusCode(), [204, 205, 304]);
      }
code: protected function isEmptyResponse(ResponseInterface $response)
      {
          if (method_exists($response, 'isEmpty')) {
              return $response->isEmpty();
          }
  
          return in_array($response->getStatusCode(), [204, 205, 304]);
      }
code_tokens: protected function isEmptyResponse ( ResponseInterface $ response ) { if ( method_exists ( $ response , 'isEmpty' ) ) { return $ response -> isEmpty ( ) ; } return in_array ( $ response -> getStatusCode ( ) , [ 204 , 205 , 304 ] ) ; }
docstring: Helper method, which returns true if the provided response must not output a body and false
  if the response could have a body.
  
  @see https://tools.ietf.org/html/rfc7231
  
  @param ResponseInterface $response
  
  @return bool
docstring_tokens: Helper method which returns true if the provided response must not output a body and false if the response could have a body .