public boolean canBroadcastPresence(@Nonnull final Role roleToBroadcast) {
        return Role.none.equals(roleToBroadcast) || rolesToBroadcastPresence.contains(roleToBroadcast);
    }
Returns true if the presences of the requested role will be broadcast.

@param roleToBroadcast the role to check if its presences will be broadcast.
@return true if the presences of the requested role will be broadcast.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java