pub fn str_to_bool(input: &str) -> Result<bool, String>
Parse a string into a bool.
See [https://www.postgresql.org/docs/9.5/datatype-boolean.html]
https://www.postgresql.org/docs/9.5/datatype-boolean.html