If a person keeps an animal which is ferocious by nature and accustomed to attack human beings, such as a tiger or a lion, he must take care of him at his peril; and in case the animal inflicts an injury upon a person for which an action is brought, it is unnecessary for the plaintiff either to allege or prove the defendant's knowledge of the mischievous disposition of the animal, because it is it