[TASK] Implement an early return in empty condition for CGL compliance