private boolean isValidGeometryPath(String path){
  return path.equals("") || path.equals("geometry") || path.equals("features.[].geometry");
}

private boolean isValidGeometryPath ( String path ) { return path . equals ( "" ) || path . equals ( "geometry" ) || path . equals ( "features.[].geometry" ) ; }
returns true if the object path is a valid location to see a multi / polygon geometry
