Organization Relationships, True/False Flag for large list

Has anyone figured out a way to bulk find organization relationships? I know they have an endpoint to look a single ID but I was wondering if I have a list of say 4,000 records. How can I return a a true/false flag if any relationship exist with each ID?

Hi,
Thanks for bringing this to our attention. I’ll have it moved to Feedback for broader visibility.
In the meantime, you might find this wiki useful