Is it true they put a smell in gas so we can tell if it leaks?

That is true. But the problem with a gas boiler leaking carbon monoxide is that there is NO smell.