def is_valid_urn_string(instr):
    if instr is None or not isinstance(instr, str):
        return False
    #No whitespace
    # no # or ? or /
    if re.search("[\s|\?\/\#]", instr) is None:
        return True
    return False

# Note that this is not sufficient but it is necessary
Get input space.
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/ext/geni/util/urn_util.py/is_valid_urn_string--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/cross_validation/blocks.py/StackedBlocksCV.get_input_space