public boolean getBooleanProperty(String name, boolean defaultValue) {
        String value = get(name);
        if (value != null) {
            return Boolean.parseBoolean(value);
        }
        else {
            return defaultValue;
        }
    }
Saves a property, optionally encrypting it

@param key
           The name of the property
@param value
           The value of the property
@param isEncrypted
           {@code true} to encrypt the property, {@code true} to leave in plain text
@return The previous value associated with {@code key}, or {@code null} if there was no mapping for
        {@code key}.
xmppserver/src/main/java/org/jivesoftware/util/JiveProperties.java