def value_exists(value):
    try:
        value = float(value)
    except ValueError:
        pass
    return bool(value)
Test Valet WSGI service request response no content-length in request
dataset/ETHPy150Open wevoteeducation/WeVoteBase/wevote_functions/models.py/value_exists--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/http/test/test_serving.py/BasicTestCase.testValetServiceBottleNoContentLength