code: def session(self, create=True):
          
          if hasattr(self.local, 'session'):
              return self.local.session
          else:
              if create:
                  s = Session(self.name)
                  self.local.session = s
                  return s
docs: Used to created default session