how do we know that s andromedae was really within the andromeda galaxy and not part of the milky way