public static Condition intersects(final Geometry value, final boolean swapped) {
if (value.isEmpty()) {
return Condition.FALSE;
}
return new Condition() {
@Override
public boolean isSatisfied(Object object) {
if (object instanceof Geometry) {
Geometry geom = (Geometry) object;