code: public boolean getBool(String name) {
  
  		Object value = super.get(name);
  
  		if (value instanceof Boolean) {
  			return (Boolean) value;
  		}
  
  		if (value instanceof String) {
  			String txt = (String)value;
  			txt = txt.trim().toLowerCase();
  
  			if ("yes".equals(txt) || "y".equals(txt) || "1".equals(txt) || "true".equals(txt) || "t".equals(txt)) {
  				return true;
  			}
  
  			if ("no".equals(txt) || "n".equals(txt) || "0".equals(txt) || "false".equals(txt) || "f".equals(txt)) {
  				return false;
  			}
  		}
  
  		if (value == null) {
  			throw new IllegalArgumentException("Setting: '" + name + "', not found!");
  		}
  
  		throw new IllegalArgumentException("Setting: '" + name + "', can't be converted to boolean: '" + value + "'!");
  	}
docs: Returns boolean flag
  @param name of flag
  @return true or false
  @throws IllegalArgumentException in case setting is not a boolean setting