Industrial use paints used lead way longer . The paint manufacturer we use at work only quit using lead based pigments a few years ago . So , depending on who the cobra-head manufacturer gets their paint from could STILL be using lead based pigments today .
I is not that much about pigment, but the base coat use active rust inhibitors. And the most effective chemicals known so far for this task are unfortunately lead compounds (I think it was called Minium). That makes the lead so frequent on older outdoor items.
By the way this is the reason many things seem to corrode way faster than they used to: It is because (maybe except some special uses) the lead compounds were banned and there is no known replacement for these compounds, so the present lead free paints are way less effective in protecting against corrosion. So if the thing does not feature another corrosion proofing method (Zinc galvanization,...), it is destined to have way shorter life and disintegrate by corrosion.
The main source of the problem was, many times people ignored to cover the lead based base coat by some sealing final coat (because "it is not needed, the base coat protects it good enough", ignoring the function of the sealing final coat is to seal the poisonous lead inside, not rust protection), so the lead was leached out by rain and poisoned all around...