code: private static boolean polylineContainsMultiPoint_(Polyline polyline_a,
  			MultiPoint multipoint_b, double tolerance,
  			ProgressTracker progress_tracker) {
  		Envelope2D env_a = new Envelope2D(), env_b = new Envelope2D();
  		polyline_a.queryEnvelope2D(env_a);
  		multipoint_b.queryEnvelope2D(env_b);
  
  		if (!envelopeInfContainsEnvelope_(env_a, env_b, tolerance))
  			return false;
  
  		// Quick rasterize test to see whether the the geometries are disjoint.
  		if (tryRasterizedContainsOrDisjoint_(polyline_a, multipoint_b,
  				tolerance, false) == Relation.disjoint)
  			return false;
  
  		if (!linearPathIntersectsMultiPoint_(polyline_a, multipoint_b,
  				tolerance, true))
  			return false;
  
  		MultiPoint boundary_a = (MultiPoint) (polyline_a.getBoundary());
  		return !multiPointIntersectsMultiPoint_(boundary_a, multipoint_b,
  				tolerance, progress_tracker);
  	}
docs: Returns true if polyline_a contains multipoint_b.