[TASK] Simplify isCollapsed ViewHelper