[struct] How to check for an empty struct?