Assert that somebody is, or nobody is, logged in to the control panel. The step opens the control panel: a signed-in user gets its screens, anybody else gets the login form.
Examples
Then I should be logged in to the control panel
Then I should not be logged in to the control panel
Then we should be logged in to the control panel
Then we should not be logged in to the control panel
And I should not be logged in to the control panel
Pattern
Then(/^(I |we )*should( not)* be logged in to the control panel$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.