code: def decompose(self):
          
          contents = [i for i in self.contents]
          for i in contents:
              if isinstance(i, Tag):
                  i.decompose()
              else:
                  i.extract()
          self.extract()
docs: Recursively destroys the contents of this tree.