Yes the dry powder type which is most common, can go "bad" usually from excessive moisture in the pressurization gas. This causes the powder to clump and no longer come out.
This can be prevented by inverting the extinguisher a few times a year to make sure the powder is still "fluid" and to break up any clumped up powder.