Assert that someone is, or nobody is, logged in to the admin. On a page that is not the admin's, the step opens the admin index to see.
Examples
Then I should be logged in
Then I should not be logged in
And we should be logged in
And we should not be logged in
Then I should not be logged in
Pattern
Then(/^(I |we )*should( not)* be logged in$/, …)
Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.