Yes Patrick you are right
Many produce brilliantly colored flowers and small peppercorn-looking berries that are edible when ripe. ... When foraging Lantana berries it is vital to only consume those that are entirely ripe, as the green and partially ripened berries are toxic and can be lethal.
Kev