we have a helper for this conversion, see https://github.com/Katello/katello/blob/master/src/lib/string_to_bool.rb