Yeah but it still adds protection and should be used fore indoors and outside photography.
Some professionals do not think that a lens hood is necessary as they have an excellent lens. It does not work like this though.
Quoted from the site below.
"The purpose of a lens hood is to prevent flare, which can seriously degrade the image quality of photographic lenses. A longer hood offers better flare protection than a short hood, but when the hood exceeds a critical length vignetting sets in. Therefore, a lens hood needs to be carefully chosen. The optimum hood depends on the philosophy behind the hood, with the shape and size as the key parameters, and on the lens aperture and subject matter."
See link:
http://www.vanwalree.com/optics/lenshood.html
So you need the hood designed for the lens only.
Question: Was this the stock lens for the 400D? If so, was no lens hood supplied.
You need this lens hood:
Canon EW-60C Lens Hood for EF 28-80mm f/3.5-5.6, II, III, IV, V, 18-55mm & 28-90mm Lenses
Mfr# 2639A002