public boolean isNameVisible() {
        return !getProperties().containsKey(NAME_VISIBLE_PROPERTY) || Boolean.parseBoolean(getProperties().get(NAME_VISIBLE_PROPERTY));
    }
Returns true if name is visible to everyone or not.

@return true if name is visible to everyone, false if not.
xmppserver/src/main/java/org/jivesoftware/openfire/user/User.java