code: def get_session(self):
          
          # The inconsistent vboxapi implementation makes this annoying...
          if hasattr(self.manager, 'mgr'):
              manager = getattr(self.manager, 'mgr')
          else:
              manager = self.manager
          return Session(interface=manager.getSessionObject(None))
docs: Return a Session interface
  
          :rtype: library.ISession