def ebtables_supported():
    try:
        cmd = ['ebtables', '--version']
        agent_utils.execute(cmd)
        return True
    except (__HOLE__, RuntimeError, IndexError, ValueError) as e:
        LOG.debug("Exception while checking for installed ebtables. "
                  "Exception: %s", e)
        return False
dataset/ETHPy150Open openstack/neutron/neutron/cmd/sanity/checks.py/ebtables_supported