def __eq__(self, other):
    return (isinstance(other, self.__class__) and
            self.SerializeToString() == other.SerializeToString())
Implement equality operator.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/flows.py/FlowState.__eq__