code: def _pli_lines_to_multipoints(pli):
      """Works identically to `_pli_points_to_multipoints`, converting the mixed
      GeoSeries result of `pairwise_linestring_intersection` (pli) to a
      GeoSeries of MultiPoints using only the points contained in the
      LineString intersections from the result of
      pairwise_linestring_intersection."""
      lines = pli[1][
          pli[1].feature_types == Feature_Enum.LINESTRING.value
      ]
      offsets = _pli_features_rebuild_offsets(pli, lines)
      xy = (
          lines.lines.xy
          if len(lines.lines.xy) > 0
          else cudf.Series([], dtype=cp.float64)
      )
      multipoints = cuspatial.GeoSeries.from_multipoints_xy(xy, offsets)
      return multipoints
  
imports: import cupy
  import numpy
  import cudf
  import cuspatial
  from cuspatial.core._column.geocolumn import ColumnType
  from cuspatial.core._column.geometa import Feature_Enum
label_desc: Use image node_id 25 for calling a global function with example usage: _pli_lines_to_multipoints(pli) and returns: multipoints