def __lt__(self, other):
    if isinstance(other, self.__class__):
      return self._value < other._value  # pylint: disable=protected-access
    else:
      return self._value < other
dataset/ETHPy150Open google/grr/grr/lib/rdfvalue.py/RDFBytes.__lt__/original