

def is_logged_in(self, name_id):
    ' Check if user is in the cache\n\n        :param name_id: The identifier of the subject\n        '
    identity = self.users.get_identity(name_id)[0]
    return bool(identity)

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/client.py Saml2Client.is_logged_in/original