Technically yes, as it's a safety hazard to not have a working horn, but of course there's a very slim chance that police passing you on the road could have reason to suspect that you're driving without a functional horn.