- is_prepared(geometry, **kwargs)#
Returns True if a Geometry is prepared.
Note that it is not necessary to check if a geometry is already prepared before preparing it. It is more efficient to call
preparedirectly because it will skip geometries that are already prepared.
This function will return False for missing geometries (None).
- geometryGeometry or array_like
For other keyword-only arguments, see the NumPy ufunc docs.
>>> from shapely import Point, prepare >>> geometry = Point(0, 0) >>> is_prepared(Point(0, 0)) False >>> prepare(geometry) >>> is_prepared(geometry) True >>> is_prepared(None) False