def adjacency_iter(self):
        return iter(self.adj.items())
DRY Helper method to filter component hooks
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.adjacency_iter--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3/s3model.py/S3Model.__get_hooks