()
return environ.get('SERVER_SOFTWARE', '').startswith('Development')
True if devserver, False if appengine server

    Appengine uses 'Google App Engine/<version>',
    Devserver uses 'Development/<version>'
True if devserver, False if appengine server
True if devserver False if appengine server
def is_testenv():
    """
    True if devserver, False if appengine server

    Appengine uses 'Google App Engine/<version>',
    Devserver uses 'Development/<version>'
    """
    return environ.get('SERVER_SOFTWARE', '').startswith('Development')
def is_testenv ( ) : return environ . get ( 'SERVER_SOFTWARE' , '' ) . startswith ( 'Development' )