code: def is_in(self, search_list, pair):
          
          index = -1
          for nr, i in enumerate(search_list):
              if(np.all(i == pair)):
                  return nr
          return index
docs: If pair is in search_list, return the index. Otherwise return -1