def select(self, function):
        """Select cells from this bag's table based on the cells in this bag.
            e.g.
            bag.select(lambda bag_cell, table_cell: bag_cell.y == table_cell.y
                and bag_cell.value == table_cell.value)
            would give cells in the table with the same name on the same row
            as a  cell in the bag"""
        return self.table.select_other(function, self)