It shall be unlawful for an owner of a dangerous dog to permit the dog to be off the owner's property unless: (1) The dog is restrained by a leash not to exceed six feet in length and is under the immediate physical control of a person capable of preventing the dog from engaging any other human or animal when necessary: or (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.