I had to spend half an hour debugging a bizarre side effect of that parsing to pinpoint the problem.
Edit, holy fuck all these are booleans:
y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF