We have a holly berry tree right next our steps and I have to made sure Marty does not try to eat any of the berries that fall on ground.
I think it a pretty stupid place to plant a plant that is toxic , right next the building where a small child can get to it.
It was probably planted by a previous owner that had neither small children nor pets.