(a) It is unlawful and a violation of this chapter for an owner of a dangerous dog to permit the dog to be outside of the owner's property unless: (1) The dog is muzzled and restrained by a chain or leash not to exceed six feet in length, and is under the physical restraint of a responsible person capable of preventing the dog from engaging any other human or animal when necessary. The muzzle shall be made in a manner that will not cause injury to the dog or interfere with its vision or respiration, but will prevent it from biting any person; (2) The dog is contained in a closed and locked cage or crate; (3) The dog is working or training as a hunting dog, herding dog, or predator control dog. (b) It shall be unlawful for an owner of a vicious dog to permit the dog to be outside an enclosure designed to securely confine the vicious dog while on the owner's property, or outside a securely locked and enclosed pen, fence, or structure suitable to prevent the vicious dog from leaving such property, unless: (1) The dog is muzzled and restrained by a chain or leash not to exceed six feet in length and is under the physical restraint of a responsible person capable of preventing the dog from engaging any other human or animal when necessary. The muzzle shall be made in a manner that will not cause injury to the dog or interfere with its vision or respiration, but will prevent it from biting any person; or (2) The dog is contained in a closed and locked cage or crate. (c) It shall be unlawful for an owner of a vicious dog to permit the dog to be unattended with minors.