How to tell if a node has backlinks?

Is there a function to tell if a node has backlinks? Or is there a “backlink-count” function? I’m hoping to insert some font-locked text into my nodes when they have backlinks (this way I don’t have to open (or keep open) my backlinks buffer).

This code on the wiki will probably help you get started: User contributed Tricks · org-roam/org-roam Wiki · GitHub

Thanks! That’s a great starting place.