code: def vb_machine_exists(name):
      '''
      Checks in with the hypervisor to see if the machine with the given name is known
      @param name:
      @type name:
      @return:
      @rtype:
      '''
      try:
          vbox = vb_get_box()
          vbox.findMachine(name)
          return True
      except Exception as e:
          if isinstance(e.message, six.string_types):
              message = e.message
          elif hasattr(e, 'msg') and isinstance(getattr(e, 'msg'), six.string_types):
              message = getattr(e, 'msg')
          else:
              message = ''
          if 0 > message.find('Could not find a registered machine named'):
              log.error(message)
  
          return Falsf vb_machine_exists(name):
      '''
      Checks in with the hypervisor to see if the machine with the given name is known
      @param name:
      @type name:
      @return:
      @rtype:
      '''
      try:
          vbox = vb_get_box()
          vbox.findMachine(name)
          return True
      except Exception as e:
          if isinstance(e.message, six.string_types):
              message = e.message
          elif hasattr(e, 'msg') and isinstance(getattr(e, 'msg'), six.string_types):
              message = getattr(e, 'msg')
          else:
              message = ''
          if 0 > message.find('Could not find a registered machine named'):
              log.error(message)
  
          return False
docs: Checks in with the hypervisor to see if the machine with the given name is known
      @param name:
      @type name:
      @return:
      @rtype: