implicit int -> bool conversion for cfg options