How to detect Link to Windows is on?

As title, I’m developing an app that would not allow users to use it if they have Link to Windows toggled on in the setting. Is there any way I could detect it?

This is an Android question. This forum is for Samsung Tools and API issues. I’ll let the question stand here but you should look in some of the Android Developer forums and stackoverflow for solutions.

Samsung Developers Relations