Yes, but Shep isn't smart enough to do it "Geraldo-style". For full effect you really need a human with that dog. Preferably an elderly lady with a dog. Most preferably an elderly lady with a dog, who is in need of medications.
Which needs the medicine, the old lady or the dog?
Maybe Jerry will hit the perfecta and they both need medicine.