[lecture] Unify guards for UG grid

1 job for !154 with cleanup/unify-ug-guard-lecture-v3.4
latest merge request