code: def get_shapely_multipolygon(
      coco_segmentation: List[List],
  ) -> MultiPolygon:
      """
      Accepts coco style polygon coords and converts it to shapely multipolygon object
      """
      polygon_list = []
      for coco_polygon in coco_segmentation:
          point_list = list(zip(coco_polygon[0::2], coco_polygon[1::2]))
          shapely_polygon = Polygon(point_list)
          polygon_list.append(shapely_polygon)
      shapely_multipolygon = MultiPolygon(polygon_list)
  
      return shapely_multipolygon
  
imports: from typing import List
  from shapely.geometry import CAP_STYLE, JOIN_STYLE, MultiPolygon, Polygon, box
label_desc: Use image node_id 2 for calling a global function with example usage: get_shapely_multipolygon(coco_segmentation) and returns: shapely_multipolygon