Hmmm - thinking aloud here - but .get() returns nothing if the key isn't found so this example isn't great connect.geoip isn't set as the if(geoip.distance && geoip.distance) will fail with a undefined variable error.  So this would be better expressed as:

`````
var geoip;
if (geoip = connection.results.get('connect.geoip')) {
    if (geoip.distance && geoip.distance > 2000) {
        ....
    }
}
`````