def METHOD_NAME(self, interface_oid, learn_mode):
    # Get bridge port oid
    bridge_port_oid = self.get_bridge_port_oid(interface_oid)
    assert bridge_port_oid is not None
    tbl = swsscommon.Table(self.adb, "ASIC_STATE:SAI_OBJECT_TYPE_BRIDGE_PORT")
    (status, fvs) = tbl.get(bridge_port_oid)
    assert status == True
    values = dict(fvs)
    if values["SAI_BRIDGE_PORT_ATTR_FDB_LEARNING_MODE"] == learn_mode:
        return True
    else:
        return False