def __virtual__():
    if 'influxdb.db_exists' in __salt__:
        return 'influxdb_user'
    return False
Only load if the influxdb module is available
dataset/ETHPy150Open saltstack/salt/salt/states/influxdb_user.py/__virtual__