def setval(key, val, destructive=False):
 return setvals({key: val}, destructive)

def setval ( key , val , destructive = False ) : return setvals ( { key : val } , destructive )
set a grains value in the grains config file key the grain key to be set .