code: def _can_merge_tail(self):
          
          if len(self.storage) < 2:
              return False
          return self.storage[-2].w <= self.storage[-1].w * self.rtol
docs: Checks if the two last list elements can be merged