code: def test_linestring_polygon_within():
      lhs = cuspatial.GeoSeries(
          [
              LineString([(0, 0), (1, 1)]),
              LineString([(0, 0), (1, 1)]),
              LineString([(0, 0), (1, 1)]),
          ]
      )
      rhs = cuspatial.GeoSeries(
          [
              Polygon([(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)]),
              Polygon([(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)]),
              Polygon([(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)]),
          ]
      )
      result = _basic_intersects(lhs, rhs)
      assert_series_equal(
          result.to_pandas(), pd.Series([True, True, True])
      )
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/basicpreds/test_intersects_basic_predicate.py
imports: import pandas
  from pandas.testing import assert_series_equal
  from shapely.geometry import LineString, Point, Polygon
  import cuspatial
  from cuspatial.core.binpreds.basic_predicates import _basic_intersects
label_desc: Use image node_id 7 for calling a global function with example usage: test_linestring_polygon_within() without return types