util: Add a new macro for testing empty lists.