def add_edges_from(self, ebunch, **kwargs):
        for edge in ebunch:
            self.add_edge(*edge, **kwargs)
Method to verify if a particular role exists
dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/base/UndirectedGraph.py/UndirectedGraph.add_edges_from--crossover with--dataset/ETHPy150Open aws/aws-cli/awscli/customizations/datapipeline/createdefaultroles.py/CreateDefaultRoles._check_if_instance_profile_exists