private void checkGeoCircle() {
        if (!isGeoCircle()) {
            throw new IllegalArgumentException("only geo circles support this api");
        }
    }
check whether this Location contains a 2D circle
container-search/src/main/java/com/yahoo/prelude/Location.java