code: def test_allpairs():
      lhs = cuspatial.GeoSeries(
          [
              MultiPolygon(
                  [
                      Polygon([[0, 0], [1, 1], [1, 0], [0, 0]]),
                      Polygon(
                          ([0, 0], [1, 1], [1, 0], [0, 0]),
                          [([0, 0], [1, 1], [0, 1], [0, 0])],
                      ),
                  ]
              ),
              MultiPolygon(
                  [
                      Polygon([[0, 0], [1, 1], [1, 0], [0, 0]]),
                      Polygon([[0, 0], [1, 1], [1, 0], [0, 0]]),
                  ]
              ),
              Polygon(
                  ([0, 0], [1, 1], [1, 0], [0, 0]),
                  [([0, 0], [1, 1], [0, 1], [0, 0])],
              ),
              Polygon([[0, 0], [1, 1], [1, 0], [0, 0]]),
          ]
      )
      rhs = cuspatial.GeoSeries(
          [
              Point(0.5, 0.25),
          ]
      )
      got = lhs.contains_properly(rhs, allpairs=True).sort_values(
          "polygon_index"
      )
      assert (got["polygon_index"] == cp.arange(4)).all()
  
imports: import cupy
  import geopandas
  import numpy
  import pytest
  from shapely.geometry import LineString, MultiPolygon, Point, Polygon
  import cuspatial
label_desc: Use image node_id 21 for calling a global function with example usage: test_allpairs() without return types