It is unlawful for an owner of a vicious dog to permit the dog to be outside a proper enclosure unless the dog is restrained by a leash and is under the physical restraint of a responsible person.