If it is possible to transform a coordinate system to a form where the metric elements are constants independent of , then the space is flat.
Flat Space Theorem
Explore with Wolfram|Alpha
Cite this as:
Weisstein, Eric W. "Flat Space Theorem." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/FlatSpaceTheorem.html