private boolean checkConfigBool(Configuration config,String name){
  String value=config.getConfig(name);
  return value != null && Boolean.parseBoolean(value);
}

private boolean checkConfigBool ( Configuration config , String name ) { String value = config . getConfig ( name ) ; return value != null && Boolean . parseBoolean ( value ) ; }
read bool value from given db config
