Huh?
DnD Beyond doesn't agree with this:
https://www.dndbeyond.com/sources/dnd/basic-rules-2014/combat#Surprise
The DM determines who might be surprised. If neither side tries to be stealthy, they automatically notice each other. Otherwise, the DM compares the Dexterity (Stealth) checks of anyone hiding with the passive Wisdom (Perception) score of each creature on the opposing side. Any character or monster that doesn't notice a threat is surprised at the start of the encounter.
The "Dexterity (Stealth) checks of anyone hiding" are rolls. If successful (ie they beat the passive Wisdom (Perception) scores of the being(s) on the other side) then the hiding beings are unnoticed. And those who don't notice them are surprised. So that is a roll that is made to determine surprise.