code: public boolean getBoolean(String name, boolean defaultValue) {
          String value = getString(name, null);
          if (!StringUtils.isNullOrEmpty(value)) {
              return Boolean.parseBoolean(value.trim());
          }
  
          return defaultValue;
      }
docs: Returns the boolean value for the specified name. If the name does not
  exist or the value for the name can not be interpreted as a boolean, the
  defaultValue is returned.
  
  @param name
  @param defaultValue
  @return name value or defaultValue