Is rosemary safe for dogs?

Is rosemary safe for dogs?