.. _04: =================================== lib.auth.permissions.SignedIn.check =================================== .. image :: images/04.jpg :align: center :height: 544 :width: 923 :func:`lib.auth.permissions.py:SignedIn.check` In the example, the :func:`@authorize` decorator was supplied with an instance of the :class:`SignedIn` permission class. The :func:`SignedIn.check` call simply returns the (``True`` / ``False``) value returned by a call on :func:`get_user`. The :func:`InGroup.check` function illustrates how group membership would be checked had an instance of that permission class been provided along with the name of a :class:`Group`, e.g. ``@authorize(InGroup('admin'))``.