code: def write_line(self, force=False):
          '''
          Writes the current line to the buffer, provided that there is any
          data to write.
  
          ::returns:
              True, if a line has been writer, otherwise False
          '''
          # only break the line if there is any relevant content
          if not force and (not self.current_line[-1].content or self.current_line[-1].content.isspace()):
              self.current_line[-1].margin_before = max(self.current_line[-1].margin_before,
                                                        self.current_tag[-1].margin_before)
              return False
  
          line = self.current_line[-1].get_text()
          self.clean_text_lines[-1].append(line)
          self.current_line[-1] = self.next_line[-1]
          self.next_line[-1] = Line()
          return Truf write_line(self, force=False):
          '''
          Writes the current line to the buffer, provided that there is any
          data to write.
  
          ::returns:
              True, if a line has been writer, otherwise False
          '''
          # only break the line if there is any relevant content
          if not force and (not self.current_line[-1].content or self.current_line[-1].content.isspace()):
              self.current_line[-1].margin_before = max(self.current_line[-1].margin_before,
                                                        self.current_tag[-1].margin_before)
              return False
  
          line = self.current_line[-1].get_text()
          self.clean_text_lines[-1].append(line)
          self.current_line[-1] = self.next_line[-1]
          self.next_line[-1] = Line()
          return True
docs: Writes the current line to the buffer, provided that there is any
          data to write.
  
          ::returns:
              True, if a line has been writer, otherwise False