def _shouldEnableNewStyle():
 value = os.environ.get('TWISTED_NEWSTYLE', '')
 if (value in ['', 'no', 'false', 'False', '0']):
  return False
 else:
  return True

def _shouldEnableNewStyle ( ) : value = os . environ . get ( 'TWISTED_NEWSTYLE' , '' ) if ( value in [ '' , 'no' , 'false' , 'False' , '0' ] ) : return False else : return True
returns whether or not we should enable the new-style conversion of old-style classes .