def __remove(self, data_area, delete, test):
        "Removes rows from data area according to criteria."
        column_map = {name: index for index, name, data_type in self.__columns}
        for row in tuple(data_area):
            value = test(_RowAdapter(data_area[row], column_map))
            assert not isinstance(value, _RowAdapter), 'Test improperly formed!'
            if bool(value) == delete:
                del data_area[row]
Removes rows from data area according to criteria.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py