def _binary_search(self, find, list1, low, high):
    while (low <= high):
        mid = int(((low + high) / 2))
        if self._check_price_eq(list1[mid][0], find):
            return [mid, 'True']
        elif (list1[mid][0] > find):
            high = (mid - 1)
        else:
            low = (mid + 1)
    return [low, 'False']
def _binary_search(self, find, list1, low, high):
    while (low <= high):
        mid = int(((low + high) / 2))
        if self._check_price_eq(list1[mid][0], find):
            return [mid, 'True']
        elif (list1[mid][0] > find):
            high = (mid - 1)
        else:
            low = (mid + 1)
    return [low, 'False']