bond: New function bond_is_balanced().