code: def _is_coordinates_empty(coordinates):
      """Helper to identify if coordinates or subset of coordinates are empty"""
  
      if coordinates is None:
          return True
  
      if isinstance(coordinates, (list, tuple, np.ndarray)):
          if len(coordinates) == 0:
              return True
          return all(map(_is_coordinates_empty, coordinates))
      else:
          return False
  
file_path: shapely/shapely/geometry/geo.py
imports: import numpy
  from shapely.errors import GeometryTypeError
  from shapely.geometry.collection import GeometryCollection
  from shapely.geometry.linestring import LineString
  from shapely.geometry.multilinestring import MultiLineString
  from shapely.geometry.multipoint import MultiPoint
  from shapely.geometry.multipolygon import MultiPolygon
  from shapely.geometry.point import Point
  from shapely.geometry.polygon import LinearRing, Polygon
label_desc: Use image node_id 1 for calling a global function with example usage: _is_coordinates_empty(coordinates) and returns: True, all, False, True