Lobby feature - custom UI

How can I know if lobby feature is enabled prior to joining ?
Im using lib-jitsi-meet api btw

Nope, you try to join you get the error, you ask to join …