Yes. A chemical agent is added to make LPG "smell".
This smell is due to primarily because of a chemical called" Ethyl Mercaptan" .
Usually Cooking gas(LPG) consists of hydrocarbons like Propane,Butane etc..These gases are Odourless. Hence when LPG escapes, its very difficult(or nearly impossible) to detect the leakage. Hence to identify this leak easily a foul smelling chemical like Ethyl mercaptan is also added.
Thus whenever there is a LPG leak, one can easily identify the same and the leak can be stopped.