code: def items(sanitize=False):
      '''
      Return all of the minion's grains
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.items
  
      Sanitized CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.items sanitize=True
      '''
      if salt.utils.data.is_true(sanitize):
          out = dict(__grains__)
          for key, func in six.iteritems(_SANITIZERS):
              if key in out:
                  out[key] = func(out[key])
          return out
      else:
          return __grains_f items(sanitize=False):
      '''
      Return all of the minion's grains
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.items
  
      Sanitized CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.items sanitize=True
      '''
      if salt.utils.data.is_true(sanitize):
          out = dict(__grains__)
          for key, func in six.iteritems(_SANITIZERS):
              if key in out:
                  out[key] = func(out[key])
          return out
      else:
          return __grains__
docs: Return all of the minion's grains
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.items
  
      Sanitized CLI Example:
  
      .. code-block:: bash
  
          salt '*' grains.items sanitize=True