hasZ property

bool get hasZ

True if the geometry has z-coordinate values, false otherwise.

Only 3D geometries contain z-coordinate values. These values typically represent elevation, height, or depth.