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