Check if access to WatchUi is permitted?

Hi,

I have a background service, that shares code with my foreground app. In that code, can I check somehow if access to WatchUi is permitted? It seems that using "has" on a method of WatchUi already counts as illegal access and I cannot use it. Also the "Permission Required" error from the SDK is not catchable.

Is there any other way? Or do I have to implement my own method to remember if it is the background executing the code?

Regards, Robert