def containsOnly(str, set):
    for c in str:
        if c not in set: return 0
    return 1
Check whether sequence str contains ONLY items in set.
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Util.py/containsOnly