Function Setting.parseBool

parse string as boolean; supports 1, 0, y, n, yes, no, t, f, true, false; returns defValue if cannot be parsed

static bool parseBool(
  inout(string) v,
  bool defValue = false
);