class GeometryCalculator {

    public boolean anyAtFullContainment(Collection<? extends AbstractTileGeometry<?>> geometries, GeographicBoundingBox boundingBox)
    {
        boolean hasAFullContainment = false;

        for (AbstractTileGeometry<?> geometry : geometries)
        {
            if (geometry.getBounds() instanceof GeographicBoundingBox)
            {
                hasAFullContainment = boundingBox.contains((GeographicBoundingBox)geometry.getBounds());
                if (hasAFullContainment)
                {
                    break;
                }
            }
        }

        return hasAFullContainment;
    }

}