def write(self) -> bytes:
    b = BytesIO()
    b.write(Int(self.ID, False))
    b.write(Bool(self.new_value))
    return b.getvalue()
def write(self) -> bytes:
    b = BytesIO()
    b.write(Int(self.ID, False))
    b.write(Bool(self.new_value))
    return b.getvalue()