Range

disjoint?/2

disjoint?(range1, range2)

Returns true if range1 does not overlap range2.

It returns false otherwise.