def get_active_env():
active = os.environ.get('<STR_LIT>', None)<EOL>if active:<EOL><INDENT>return VirtualEnvironment(active)<EOL><DEDENT>
:returns: the active environment as a :class:`VirtualEnvironment`
    instance or None if one is not active.