docs: def remove_overlap(self, also_remove_contiguous: bool = False) -> None:
          """
          Merges any overlapping intervals.
  
          Args:
              also_remove_contiguous: treat contiguous (as well as overlapping)
                  intervals as worthy of merging?
          """
          overlap = True
          while overlap:
              overlap = self._remove_overlap_sub(also_remove_contiguous)
          self._sort()