You can see if its set by doing:

  getConfig().getString("core",null,"bare") != null

and then later doing the getBoolean() if that was true.  Maybe  we should put that getString(...) != null into an isSet() method in Config to make this easier to test.