def _check_bond_interface_change(self, phy_interface, attr_obj):
bond_phy = sys_utils.get_bond_intf(phy_interface)<EOL>if sys_utils.is_intf_bond(phy_interface):<EOL><INDENT>bond_intf = phy_interface<EOL><DEDENT>else:<EOL><INDENT>bond_intf = bond_phy<EOL><DEDENT>bond_intf_change = attr_obj.cmp_update_bond_intf(bond_intf)<EOL>return bond_intf_change<EOL>
Check if there's any change in bond interface.

        First check if the interface passed itself is a bond-interface and then
        retrieve the member list and compare.
        Next, check if the interface passed is a part of the bond interface and
        then retrieve the member list and compare.