def __contains__(self, item):
        """(dpid, key) in <ConfSwitchSet instance>"""
        (dpid, key) = item
        return dpid in self.confs and key in self.confs[dpid]
dataset/ETHPy150Open osrg/ryu/ryu/controller/conf_switch.py/ConfSwitchSet.__contains__/original