def get(self, key, default=None):
        """Retrieve a session-stored object.

        D.get(k[,d]) -> D[k] if k in D, else d.
        d defaults to None.
        """
        if not self.loaded:
            self.load()
        return self._data.get(key, default)
Retrieve a session-stored object.

        D.get(k[,d]) -> D[k] if k in D, else d.
        d defaults to None.
        
cherrypy/lib/sessions.py