> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_HasZ (Python)

> Check whether geometry has Z coordinate

Check whether geometry has Z coordinate

SQL reference: [`ST_HasZ`](/reference/wherobots-db/geometry-data/accessors/ST_HasZ)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_HasZ

ST_HasZ(geom: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geom" type="ColumnOrName" required>
  Geometry
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  True if geometry has Z coordinate, else False
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.