Implement EZP-19120: 5.x expose isEmptyValue() in API for template needs