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.is_true(sanitize):
        out = dict(__grains__)
        for key, func in six.iteritems(_SANITIZERS):
            if out in key:
                out[key] = func(out[key])
        return out
    else:
        return __grains__
dataset/ETHPy150Open saltstack/salt/salt/modules/grains.py/items/swapped operands of `in`