Whoever keeps a (pet) dog neither for hunting, not for guarding livestock

Whoever keeps a (pet) dog neither for hunting, not for guarding livestock