def keys(self):
        """Return an iterable of session keys.

        D.keys() -> list of D's keys.
        """
        if not self.loaded:
            self.load()
        return self._data.keys()
Return an iterable of session keys.

        D.keys() -> list of D's keys.
        
cherrypy/lib/sessions.py