def getnemid(self, netif):
        ''' Given an interface, return its numerical ID.
        '''
        if self.nemidmap not in netif:
            return None
        else:
            return self.nemidmap[netif]
dataset/ETHPy150Open coreemu/core/daemon/core/emane/nodes.py/EmaneNode.getnemid/swapped operands of `not in`