Returns TRUE if any geometry part (or polygon hole) stores Z values.
Z storage is optional: empty Z means a conventional 2D geometry. When Z is
present it is included in geom and crds, preserved
by writeVector / vect file I/O (25D geometries),
and by coercion to/from sf (see also
https://github.com/rspatial/terra/issues/824).