def _validRow(row, where):
    """ Returns True if row matches where

    - where is a 2d array of index, value tuples
        ex: [(0, 'cats'), (1, 230)]
    """
    for index, value in where:
        if row[index] != value:
            return False

    return True