- 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
See NumPy ufunc docs for other keyword arguments.
>>> 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