BOOLEAN
A lenient converter to Boolean values.
This converter attempts the following conversions in order:
Direct extraction as Boolean
Extraction as String and a case-insensitive parsing of common boolean representations:
"true", "yes", "1" ->
true"false", "no", "0" ->
falseExtraction as whole number where 0 is
falseand 1 istrue
Returns null for other strings non-conforming to the rule above and any numbers other than 0 or 1