restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java
protected static boolean getBooleanProperty(TreeLogger logger, PropertyOracle propertyOracle, String propertyName,
                                                boolean defaultValue) {
        try {
            SelectionProperty prop = propertyOracle.getSelectionProperty(logger, propertyName);
            String propVal = prop.getCurrentValue();
            return Boolean.parseBoolean(propVal);
        } catch (BadPropertyValueException e) {
            // return the default value
        }
        return defaultValue;
    }
protected static boolean getBooleanProperty(TreeLogger logger, PropertyOracle propertyOracle, String propertyName,
                                                boolean defaultValue) {
        try {
            SelectionProperty prop = propertyOracle.getSelectionProperty(logger, propertyName);
            String propVal = prop.getCurrentValue();
            return Boolean.parseBoolean(propVal);
        } catch (BadPropertyValueException e) {
            // return the default value
        }
        return defaultValue;
    }
Returns the boolean value of the property or the default value.