Support non-string based input for boolean values