public boolean isAllowToDiscoverLockedRooms() {
        return allowToDiscoverLockedRooms;
    }
Returns the flag that indicates if the service should provide information about locked rooms
when handling service discovery requests.

@return true if the service should provide information about locked rooms.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/spi/MultiUserChatServiceImpl.java