code: def convex_hull_collide(nodes1, nodes2):
      
      polygon1 = _helpers.simple_convex_hull(nodes1)
      _, polygon_size1 = polygon1.shape
      polygon2 = _helpers.simple_convex_hull(nodes2)
      _, polygon_size2 = polygon2.shape
      if polygon_size1 == 2 and polygon_size2 == 2:
          return line_line_collide(polygon1, polygon2)
  
      else:
          return _helpers.polygon_collide(polygon1, polygon2)
docs: Determine if the convex hulls of two curves collide.
  
      .. note::
  
         This is a helper for :func:`from_linearized`.
  
      Args:
          nodes1 (numpy.ndarray): Control points of a first curve.
          nodes2 (numpy.ndarray): Control points of a second curve.
  
      Returns:
          bool: Indicating if the convex hulls collide.