Wouldn't this work, autoboxing and all?

    final boolean bold = setting.isBoldEnabled();