how about i18n? 

`toBoolean(str, trueString, falseString)` 

or better if you have many true or false strings...

`toBoolean(str, trueRegex, falseRegex)`