

def has_key(key):
    "\n    Check if key is in the minion datastore\n\n    .. versionadded:: 2015.8.0\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' data.has_key <mykey>\n    "
    store = load()
    return (key in store)

dataset/ETHPy150Open saltstack/salt/salt/modules/data.py has_key/original