combine read_true and read_false into read_bool