'Set frozen state of the addresses to FREEZE, True or False'

def set_frozen_state(self, addrs, freeze):

    if all((self.is_mine(addr) for addr in addrs)):
        if freeze:
            self.frozen_addresses |= set(addrs)
        else:
            self.frozen_addresses -= set(addrs)
        self.storage.put('frozen_addresses', list(self.frozen_addresses))
        return True
    return False
