code: public GeometryIndexType getType(GeometryIndex index) {
  		if (index.hasChild()) {
  			return getType(index.getChild());
  		}
  		return index.getType();
  	}
docs: Get the type of sub-part the given index points to. We look at the deepest level to check this.
  
  @param index
  The index to check.
  @return true or false.