public boolean hasHollowLinkTargets(final OsmNode n) {
        for (OsmLink link = n.firstlink; link != null; link = link.getNext(n)) {
            if (link.getTarget(n).isHollow()) {
                return true;
            }
        }
        return false;
    }
make sure all link targets of the given node are non-hollow
main/src/main/java/cgeo/geocaching/brouter/mapaccess/NodesCache.java