(self, other: Self)
| 154 | ) |
| 155 | |
| 156 | def issubset(self, other: Self) -> bool: |
| 157 | if self._empty: |
| 158 | return True |
| 159 | if other._empty: |
| 160 | return False |
| 161 | |
| 162 | return self._issubset_lower(other) and self._issubset_upper(other) |
| 163 | |
| 164 | def issuperset(self, other: Self) -> bool: |
| 165 | return other.issubset(self) |