code: def delete_virtual_mfa_device(serial, region=None, key=None, keyid=None, profile=None):
      '''
      Deletes the specified virtual MFA device.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_iam.delete_virtual_mfa_device serial_num
      '''
      conn = __utils__['boto3.get_connection_func']('iam')()
      try:
          conn.delete_virtual_mfa_device(SerialNumber=serial)
          log.info('Deleted virtual MFA device %s.', serial)
          return True
      except botocore.exceptions.ClientError as e:
          log.debug(e)
          if 'NoSuchEntity' in six.text_type(e):
              log.info('Virtual MFA device %s not found.', serial)
              return True
          log.error('Failed to delete virtual MFA device %s.', serial)
          return Falsf delete_virtual_mfa_device(serial, region=None, key=None, keyid=None, profile=None):
      '''
      Deletes the specified virtual MFA device.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_iam.delete_virtual_mfa_device serial_num
      '''
      conn = __utils__['boto3.get_connection_func']('iam')()
      try:
          conn.delete_virtual_mfa_device(SerialNumber=serial)
          log.info('Deleted virtual MFA device %s.', serial)
          return True
      except botocore.exceptions.ClientError as e:
          log.debug(e)
          if 'NoSuchEntity' in six.text_type(e):
              log.info('Virtual MFA device %s not found.', serial)
              return True
          log.error('Failed to delete virtual MFA device %s.', serial)
          return False
docs: Deletes the specified virtual MFA device.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_iam.delete_virtual_mfa_device serial_num