def is_bridged_interface(interface):
    if not interface:
        return False
    else:
        return os.path.exists(interface % BRIDGE_PORT_FS_FOR_DEVICE)
dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/bridge_lib.py/is_bridged_interface/swapped operands of `%`