%zauctionhouse_expired_item%you can get the number of items that have expired for the player. So you can create a button like this:
5 > 1then the button will be displayed normally. But if the player with 0 items expired, there will be
0 > 1and the button in the
elsewill be displayed.