How to test if this is empty::

This was cross-posted to the MODX forum where it has some different solutions: