def check_float(string):
    try:
        float(string)
        return True
    except ValueError:
        return False
Wrapper that allow graceful exits of single runs
dataset/ETHPy150Open openstack/swift/swift/common/constraints.py/check_float--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py/_sigint_handling_single_run