def _shouldEnableNewStyle():
    value = os.environ.get('TWISTED_NEWSTYLE', '')

    if value in ['', 'no', 'false', 'False', '0']:
        return False
    else:
        return True
L{DigestCredentialFactory.decode} accepts a digest challenge response
dataset/ETHPy150Open twisted/twisted/twisted/python/_oldstyle.py/_shouldEnableNewStyle--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_digestauth.py/DigestAuthTests.test_response