def device_exists(device=None):

    if not device:
        device = __salt__['grains.get']('fqdn')

    if find_device(device):
        return True
    return False
Pull a document from the server, overwriting the passed-in document
dataset/ETHPy150Open saltstack/salt/salt/modules/zenoss.py/device_exists--crossover with--dataset/ETHPy150Open bokeh/bokeh/bokeh/client/_connection.py/ClientConnection.pull_doc