Is the observable Universe consistent with the cosmological principle?