public static boolean getSystemPropertyAsBoolean(String name, boolean defaultValue) {
        final String value = getSystemProperty(name, null);
        if (value != null) {
            try {
                return Boolean.parseBoolean(value);
            } catch (Throwable exception) {
                //
            }
        }
        return defaultValue;
    }
public static boolean getSystemPropertyAsBoolean ( String name , boolean defaultValue ) { final String value = getSystemProperty ( name , null ) ; if ( value != null ) { try { return Boolean . parseBoolean ( value ) ; } catch ( Throwable exception ) { } } return defaultValue ; }
Replies the value of the boolean system property.

@param name
- name of the property.
@param defaultValue
- value to reply if the these is no property found
@return the value, or defaultValue.