code: def equals(key, value):
      '''
      Used to make sure the minion's grain key/value matches.
  
      Returns ``True`` if matches otherwise ``False``.
  
      .. versionadded:: 2017.7.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.equals fqdn <expected_fqdn>
          salt '*' grains.equals systemd:version 219
      '''
      return six.text_type(value) == six.text_type(get(key)f equals(key, value):
      '''
      Used to make sure the minion's grain key/value matches.
  
      Returns ``True`` if matches otherwise ``False``.
  
      .. versionadded:: 2017.7.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.equals fqdn <expected_fqdn>
          salt '*' grains.equals systemd:version 219
      '''
      return six.text_type(value) == six.text_type(get(key))
docs: Used to make sure the minion's grain key/value matches.
  
      Returns ``True`` if matches otherwise ``False``.
  
      .. versionadded:: 2017.7.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.equals fqdn <expected_fqdn>
          salt '*' grains.equals systemd:version 219