Consistent empty check pattern in message node