original_string: protected function mayCache($item) {
      return (
        isset($item) && 
        is_object($item) && 
        isset($item->headers) &&
        is_string($item->headers->etag) &&
        !empty($item->headers->etag) &&
        isset($item->body) &&
        is_object($item->body)
      );
    }
code: protected function mayCache($item) {
      return (
        isset($item) && 
        is_object($item) && 
        isset($item->headers) &&
        is_string($item->headers->etag) &&
        !empty($item->headers->etag) &&
        isset($item->body) &&
        is_object($item->body)
      );
    }
code_tokens: protected function mayCache ( $ item ) { return ( isset ( $ item ) && is_object ( $ item ) && isset ( $ item -> headers ) && is_string ( $ item -> headers -> etag ) && ! empty ( $ item -> headers -> etag ) && isset ( $ item -> body ) && is_object ( $ item -> body ) ) ; }
docstring: Returns whether or not the item may be cached. It has to be a stdClass
  that Sag would return, with a valid E-Tag, and no cache headers that tell
  us to not cache.
  
  @param The item that we're trying to cache - it should be a response as a
  stdClass.
  @return bool
docstring_tokens: Returns whether or not the item may be cached . It has to be a stdClass that Sag would return with a valid E - Tag and no cache headers that tell us to not cache .