def __eq__(self, other):
        try:
            return self.nodes() == other.nodes() and self.relationships() == other.relationships()
        except __HOLE__:
            return False
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/types.py/Subgraph.__eq__