code: 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;
      }
docs: Returns the boolean value of the property or the default value.