code: def vb_get_box():
      '''
      Needed for certain operations in the SDK e.g creating sessions
      @return:
      @rtype: IVirtualBox
      '''
      vb_get_manager()
  
      try:
          # This works in older versions of the SDK, but does not seem to work anymore.
          vbox = _virtualboxManager.vbox
      except AttributeError:
          vbox = _virtualboxManager.getVirtualBox()
  
      return vbof vb_get_box():
      '''
      Needed for certain operations in the SDK e.g creating sessions
      @return:
      @rtype: IVirtualBox
      '''
      vb_get_manager()
  
      try:
          # This works in older versions of the SDK, but does not seem to work anymore.
          vbox = _virtualboxManager.vbox
      except AttributeError:
          vbox = _virtualboxManager.getVirtualBox()
  
      return vbox
docs: Needed for certain operations in the SDK e.g creating sessions
      @return:
      @rtype: IVirtualBox