code: @Deprecated
  	public static boolean isValid(Geometry geometry, int[] index) {
  		return isValid(geometry, toIndex(geometry.getGeometryType(), index));
  	}
docs: Validates a geometry, focusing on changes at a specific sub-level of the geometry. The sublevel is indicated by
  passing an array of indexes. The array should uniquely determine a coordinate or subgeometry (linear ring) by
  recursing through the geometry tree. The only checks are on intersection and containment, we don't check on too
  few coordinates as we want to support incremental creation of polygons.
  
  @param geometry The geometry to check.
  @param index an array of indexes, points to edge, ring, polygon, etc...
  @return True or false.
  @since 1.2.0
  @deprecated use {@link #isValid(Geometry, GeometryIndex)} instead