def METHOD_NAME(self, node):
    if self.receive_address is not None:
        assert self.receive_address in self.addresses
    for address in self.addresses:
        assert_equal(
            node.getaddressinfo(address)["labels"][0],
            {"name": self.name, "purpose": self.purpose[address]},
        )
        assert_equal(node.getaddressinfo(address)["label"], self.name)
    # Ignore addresses added from Eth address support
    addresses = node.getaddressesbylabel(self.name)
    delete = [key for key in addresses if key[0:1] != "b"]
    for key in delete:
        del addresses[key]
    assert_equal(
        addresses,
        {address: {"purpose": self.purpose[address]} for address in self.addresses},
    )