code: private function usesXSendFile()
      {
          return isset($this->headers['x-sendfile']) &&
              isset($this->headers['content-lenght']) &&
              isset($this->headers['content-disposition']);
      }
docs: usesXSendFile
  
  @return bool