public boolean removeProperty(String key,boolean defaultValue){
  String x=removeProperty(key,null);
  return x == null ? defaultValue : Boolean.parseBoolean(x);
}

public boolean removeProperty ( String key , boolean defaultValue ) { String x = removeProperty ( key , null ) ; return x == null ? defaultValue : Boolean . parseBoolean ( x ) ; }
remove a boolean property if it is set and return the value .
