ENH: Adds a closes_in_range and opens_in_range.