code: def _check_bond_interface_change(self, phy_interface, attr_obj):
          
          bond_phy = sys_utils.get_bond_intf(phy_interface)
          if sys_utils.is_intf_bond(phy_interface):
              bond_intf = phy_interface
          else:
              bond_intf = bond_phy
          # This can be an addition or removal of the interface to a bond.
          bond_intf_change = attr_obj.cmp_update_bond_intf(bond_intf)
          return bond_intf_change
docs: 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.