code: def test_empty_subgeoms():
      geom = GeometryCollection([Point(), LineString()])
      assert geom.geom_type == "GeometryCollection"
      assert geom.is_empty
      assert len(geom.geoms) == 2
      assert list(geom.geoms) == [Point(), LineString()]
  
file_path: shapely/shapely/tests/geometry/test_collection.py
imports: import numpy
  import pytest
  from shapely import GeometryCollection, LineString, Point, wkt
  from shapely.geometry import shape
label_desc: Use image node_id 3 for calling a global function with example usage: test_empty_subgeoms() without return types