There is. Use a condition, and set it like this: "Require all"; choose any block or item; specify quantity equal to 1; and the most important setting of all: "Match all".
If the chest has any item or block at all, the condition will output true, else it will output false.
I use this to sift in...