code: static boolean isSimple(Geometry geometry, SpatialReference spatialReference) {
  		OperatorSimplify op = (OperatorSimplify) factory
  				.getOperator(Operator.Type.Simplify);
  		boolean result = op.isSimpleAsFeature(geometry, spatialReference, null);
  		return result;
  	}
docs: Checks if the Geometry is simple.
  
  See OperatorSimplify.
  
  @param geometry
  The geometry to be checked.
  @param spatialReference
  The spatial reference of the geometry.
  @return TRUE if the geometry is simple.