The hand must already be empty when Screaming Flagon checks it at end of turn. Ordinary discard and Ethereal Exhaust happen afterward, so one unplayed Defend with Ghost Seed prevents the 20 damage even though it leaves the hand moments later.
The empty-hand comparison shows when spending 1 Energy to play that final Defend turns the relic into lethal damage. Survivor, Prepared and other discard effects can clear a card before the check. Retained cards and unplayable Status cards need a discard or Exhaust effect. Unceasing Top refills an emptied hand while drawing is available, which can leave a card in hand at the check.


