Generally, yes. If an owner violates a leash law, and her dog attacks someone, many courts will hold that this fact alone is enough to conclude the owner was negligent, and that the injured person is entitled to compensation from the dog owner.