(a) A dog's owner or custodian or a person who has control of a dog shall prevent the dog from being at large, except as provided in subsections (b) and (d) below.
(b) A dog's owner or custodian who has direct and effective voice control over a dog to ensure that it does not violate any law, may allow a dog to be unrestrained by a leash while a dog is assisting an owner or custodian who is:
(1) Legally hunting.
(2) Legally herding livestock.
(3) On public property with the written permission of and for the purposes authorized by the agency responsible for regulating the use of the property.
(c) A dog's owner or custodian or a person having control of a dog that is lawfully on private property shall keep the dog: (1) leashed or tethered as allowed under Health and Safety Code section 122335, (2) under direct and effective control by voice or electronic pet containment system or (3) in a building or enclosure that is adequate to ensure the physical confinement of the dog and that also meets humane standards. An animal is not considered leashed if the leash is not in the hand of a person capable of controlling the animal or if the person is not actually controlling the animal attached to the leash.
(d) This section shall not apply to a dog assisting or training to assist a law enforcement officer in the course and scope of the officer's duties.
(Amended by Ord. No. 7906 (N.S.), effective 6-20-91; repealed and added by Ord. No. 8211 (N.S.), effective 4-1-93; amended by Ord. No. 8353 (N.S.), effective 3-3-94; repealed and added by Ord. No. 8422 (N.S.), effective 8-11-94; repealed and readopted by Ord. No. 9098 (N.S.), effective 12-16-99; repealed and readopted by Ord. No. 9274 (N.S.), effective 12-15-00; repealed and readopted by Ord. No. 9420 (N.S.), effective 2-2-02; amended by Ord. No. 10036 (N.S.), effective 2-26-10)