Walltop Sentries's triggered ability checks if there is a Lesson card in your graveyard when it is put on the stack and again when it goes to resolve. If there is no Lesson card in your graveyard when Walltop Sentries dies, the ability will not be put on the stack at all.

Artwork
Loading artwork…
Walltop Sentries
Avatar: The Last Airbender · #202 · EN
Nonfoil—Foil—
Card rules
Reach, deathtouch
When this creature dies, if there's a Lesson card in your graveyard, you gain 2 life.
2/3
"That drill shall not reach Ba Sing Se! This is what we trained for!"
Common · Illustrated by Boell Oyino
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions