code: def require_paragraph(self):
          
          if self._containers and _is_paragraph(self._containers[-1]):
              return False
          else:
              self.start_paragraph()
              return True
docs: Create a new paragraph unless the currently-active container
          is already a paragraph.