code: def test_prepared_geometry():
      polygon = Polygon([(0, 0), (1, 0), (1, 1), (0, 1)])
      p = PreparedGeometry(polygon)
      assert p.contains(Point(0.5, 0.5))
      assert not p.contains(Point(0.5, 1.5))
  
file_path: shapely/shapely/tests/legacy/test_prepared.py
imports: import numpy
  import pytest
  from shapely.geometry import Point, Polygon
  from shapely.prepared import prep, PreparedGeometry
label_desc: Use image node_id 1 for calling a global function with example usage: test_prepared_geometry() without return types