public synchronized boolean isShown(final K key) {
        final Pair<GeoItem, Boolean> entry = itemMap.get(key);
        return entry != null && entry.second;
    }
Returns true if an object with given key exists in the map AND is currently shown
main/src/main/java/cgeo/geocaching/unifiedmap/geoitemlayer/GeoItemLayer.java