code: public static boolean contains(Geometry geometry1, Geometry geometry2,
  			SpatialReference spatialReference) {
  		OperatorContains op = (OperatorContains) factory
  				.getOperator(Operator.Type.Contains);
  		boolean result = op.execute(geometry1, geometry2, spatialReference,
  				null);
  		return result;
  	}
docs: Indicates if one geometry contains another geometry.
  
  See OperatorContains.
  
  @param geometry1
  The geometry that is tested for the contains relationship to
  the other geometry..
  @param geometry2
  The geometry that is tested for within relationship to the
  other geometry.
  @param spatialReference
  The spatial reference of the geometries.
  @return TRUE if geometry1 contains geometry2.