The 'is-active' class is added to menu items only for anonymous users and missing once logged in.
Active
3.2
Code