You can check that `np.unique(y) == 9`.