code: boolean getBooleanProperty(String name, boolean defaultValue) {
          String val = getProperty(name);
          if (val == null) {
              return defaultValue;
          }
          val = val.toLowerCase();
          if (val.equals("true") || val.equals("1")) {
              return true;
          } else if (val.equals("false") || val.equals("0")) {
              return false;
          }
          return defaultValue;
      }
docs: we return the given default value.