def __virtual__():
    '''
    Set up the libcloud functions and check for dimensiondata configurations.
    '''
    if get_configured_provider() is False:
        return False

    if get_dependencies() is False:
        return False

    for provider, details in six.iteritems(__opts__['providers']):
        if details not in 'dimensiondata':
            continue

    return __virtualname__
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/dimensiondata.py/__virtual__/swapped operands of `not in`