Returns true if point is within the bounds (inclusive) of this interval.
point
bool containsPoint(Pair p) => Comparable.compare(start, p) <= 0 && Comparable.compare(end, p) >= 0;