A general test of the Copernican principle.