code: def locate_ranges(self, starts, stops, strict=True):
          loc, found = self.locate_intersection_ranges(starts, stops)
          if strict and np.any(~found):
              raise KeyError(starts[~found], stops[~found])
          return loc