How to detect moderator status from JS?


I’ve installed jitsi on own server with secured domain. I’ve got authorized moderator of the room. The question is: how to detect from JS moderator status? I don’t use API to create room, it creates by engine with call

and when I entered as moderator - there is a console.log message:

How to get this status from js script (added by my own)?