public boolean isPublicRoom() {
        return !isDestroyed && publicRoom;
    }
Returns true if the room is searchable and visible through service discovery.

@return true if the room is searchable and visible through service discovery.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java