docs: def within(self, other: "Interval", inclusive: bool = True) -> bool:
          """
          Is this interval contained within the other?
  
          Args:
              other: the :class:`Interval` to check
              inclusive: use inclusive rather than exclusive range checks?
          """
          if not other:
              return False
          if inclusive:
              return self.start >= other.start and self.end <= other.end
          else:
              return self.start > other.start and self.end < other.end