code: def find_gap(l, value):
      
      for index in range(len(l)):
          if l[index] == value:
              return None
          if l[index] > value:
              return index
docs: try to find a address gap in the list of modbus registers