def _can_fast_intersect(self: _T, other: _T) -> bool:
    if (self.freq is None):
        return False
    elif (other.freq != self.freq):
        return False
    elif (not self.is_monotonic_increasing):
        return False
    return (self.freq.n == 1)
def _can_fast_intersect(self: _T, other: _T) -> bool:
    if (self.freq is None):
        return False
    elif (other.freq != self.freq):
        return False
    elif (not self.is_monotonic_increasing):
        return False
    return (self.freq.n == 1)