As for the app in question, not the one listed just above, when you go to the beta health check section the first time, it pops up a message saying what it its going to do and what it will do with the info it collects. Hard to miss it since it uses the entire screen and gives you an out.
And that includes a more info button which takes you to a website that includes FAQs and info on how tio turn it off and flush the info.
It doesn't mention anything about a root check, but considering what it collects, getting that info is pretty trivial for any diagnostics tool.
If you say no to the check (clicking on close) it doesn't do it. The next time you enter that section if you said no before, it acts like you have never been there before and asks again.