Ways to detect if Zoom is sharing the screen

Hello.
I am writing an application with strict security restrictions. It needs to know if the client’s screen is being demostrated now.
Could you tell me if there are ways to detect if Zoom is sharing the screen. This question is relevant for the MacOs version of Zoom.