'Check if the bridge exists and make sure it is up.'

def _bridge_exists_and_ensure_up(self, bridge_name):

    br = ip_lib.IPDevice(bridge_name)
    br.set_log_fail_as_error(False)
    try:
        br.link.set_up()
    except RuntimeError:
        return False
    return True
