def __contains__(self, vertex):
        try:
            vals = [f['val'] for f in self.vertices.values()]
        except __HOLE__:
            vals = []
        return vertex in self.vertices or vertex in vals
dataset/ETHPy150Open christabor/MoAL/MOAL/data_structures/graphs/graphs.py/Graph.__contains__