Checks if the given point is before or at the range
bool isBeforeOrAt(int point) => point <= min(start, end);