def __virtual__():
    if not HAS_PYCASSA:
        return (False, 'The cassandra execution module cannot be loaded: pycassa not installed.')

    if HAS_PYCASSA and salt.utils.which('nodetool'):
        return 'cassandra'
    return (False, 'The cassandra execution module cannot be loaded: nodetool not found.')
Filter a HID device list by current object parameters. Devices
dataset/ETHPy150Open saltstack/salt/salt/modules/cassandra.py/__virtual__--crossover with--dataset/ETHPy150Open rene-aguirre/pywinusb/pywinusb/hid/core.py/HidDeviceFilter.get_devices