`if addr.startswith(self.address_prefix):` ?