code: def dumps_content(self, **kwargs):
          r
  
          content = ''
          if self.booktabs:
              content += '\\toprule%\n'
  
          content += super().dumps_content(**kwargs)
  
          if self.booktabs:
              content += '\\bottomrule%\n'
  
          return NoEscape(content)
docs: r"""Represent the content of the tabular in LaTeX syntax.
  
          This adds the top and bottomrule when using a booktabs style tabular.
  
          Args
          ----
          \*\*kwargs:
              Arguments that can be passed to `~.dumps_list`
  
          Returns
          -------
          string:
              A LaTeX string representing the