def __ne__(self, other):
    """Checks if another instance isn't equal to this one."""
    # The concrete classes should define __eq__.
    return not self == other
Checks if another instance isn't equal to this one.
deps/protobuf/python/google/protobuf/internal/containers.py