WhosAChaoticGoodBoy
Explorer
Why are you rolling a check at the point of declaration? What's the DC? Against who?
The DC of your Dexterity (Stealth) check is the Passive Perception of those you’re hiding from. Creatures with advantage or disadvantage to perceive you gain +5 or -5 to their Passive Perception, respectively. If a creature searches for signs of your presence, your check is contested by that creature's Wisdom (Perception) check
I wouldn't force my players to roll a DEX (Stealth) check if nobody was around to hide from, but at the same time, my players don't attempt to hide if they're convinced they're alone. In practice, if they roll to see if they successfully hide and nobody is around, I say they're successfully hidden.