That's a statement about physics, and so must be demonstrated through experiment.
One way to do it would be to measure the angles of a triangle in a gravitational field, for example the angles between three mountaintops on the Earth. You'd find the sum of the angles was not exactly equal to 180 degrees.