I guess you can say it is but it isn't.
I say this because as you can see in the pic of the Pontiac, I had all 4 of my lights blacked out, and I had them like that for about a year, and I drive as much as I can so cops are bound to see me and they did, a lot.
But I never got pulled over, til one day a cop decided to be a dick because he though I laughed AT HIM and he pulled me over, but it wasn't originally cuz of that, it was cuz of my system. But at the end of all that I got the ticket for my system and ONLY my head lights.
So I guess it just depends on the cops around you and if they want to enforce that law.