`raw` may be false (will be false if omitted I think) so use `if (! Boolean.TRUE.equals(raw))` or change the API to use `boolean` instead of `Boolean` which i think defaults to false (but worth confirming that -- not sure but ISTR `@DefaultValue` is just used for the documentation)