added contains method to SnapshotReader that takes into account WriteBatch correctly