code: def test_has_z_all_types_z(geometry):
      if shapely.is_empty(geometry):
          # https://github.com/libgeos/geos/issues/888
          pytest.skip("GEOSHasZ with EMPTY geometries is inconsistent")
      else:
          assert shapely.has_z(geometry)
  
imports: from functools import partial
  import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.tests.common import all_types, all_types_z, empty, geometry_collection, ignore_invalid, line_string, linear_ring, point, polygon
label_desc: Use image node_id 18 for calling a global function with example usage: test_has_z_all_types_z(geometry) without return types