Returns true if this interval intersects with the other interval.
true
other
bool intersects(Interval other) => other.start <= end && other.end >= start;