def get(key, default=''):
    return salt.utils.traverse_dict_and_list(__grains__, key, default)
Attempt to retrieve the named value from grains, if the named value is not
dataset/ETHPy150Open saltstack/salt/salt/client/ssh/wrapper/grains.py/get