def dibbler_version_supported():
    try:
        cmd = ['dibbler-client',
               'help']
        out = agent_utils.execute(cmd)
        return '-w' in out
    except (OSError, __HOLE__, IndexError, ValueError) as e:
        LOG.debug("Exception while checking minimal dibbler version. "
                  "Exception: %s", e)
        return False
dataset/ETHPy150Open openstack/neutron/neutron/cmd/sanity/checks.py/dibbler_version_supported