

def is_hex(self, val):
    return all(((c in string.hexdigits) for c in val))

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/unit/test_attributes_generators.py TestAttributesGenerators.is_hex/original