

def __contains__(self, key):
    if (key in self._dict):
        return True
    for abbrs in six.itervalues(self._dict):
        if (key in abbrs):
            return True
    return False

dataset/ETHPy150Open ncclient/ncclient/ncclient/capabilities.py Capabilities.__contains__/original