I use this for my case and it works quite well, as I know the directory to look for broken symlinks:
find -L $path -maxdepth 1 -type l
and my folder does include a link to /usr/share
but it doesn't traverse it.
Cross-device links and those that are valid for chroots, etc. are still a pitfall but for my use case it's sufficient.