No owner shall keep any dog on any property located within the county when keeping of such dog constitutes a public nuisance dog. Exceptions of a public nuisance dog are: a dog while actually working livestock, locating or retrieving wild game in season for a licensed hunter, a dog that is within the confines of the real property that is used as a commercial or licensed kennel (including hunting plantations); assisting law enforcement officers or while actually being trained for any of these specifically enumerated pursuits; and a dog that is within the confines of the real property that the owner had permission to use or is within a motor vehicle (including an unleashed dog in an open bed of a truck).