def __virtual__():
    ret = 'boto_dynamodb' if 'boto_dynamodb.exists' in __salt__ else False
    return ret
Only load if boto_dynamodb is available.
dataset/ETHPy150Open saltstack/salt/salt/states/boto_dynamodb.py/__virtual__