Hippo DX 11 Mount (hst:root) health check

Hi everyone.

I’m using Hippo DX 11.2.6.
I’m coding a REST service to check if the hst:root of my site is actually ok and available.
Before Hippo 11, I was using :

However, as the method isSite() is now deprecated, which method can I use to check the mount?
I was thinking about this one :
but I don’t if it is reliable.

Thanks in advance.

Best regards,
Sam Fisher

Hi Sam,

What do you mean by “check if the hst:root … is ok and available”? What could be the conditions to regard it as “ok and available”? For example, would it be ok’ed if the parent of your rest api mount is a non-rest api mount?