def __lt__(self, other):
        return (other is None) \
            or (isinstance(other, Graph)
                and self.identifier < other.identifier)
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.__lt__/original