def virtualenv_no_global():<EOL>
<EOL>site_mod_dir = os.path.dirname(os.path.abspath(site.__file__))<EOL>no_global_file = os.path.join(site_mod_dir, '<STR_LIT>')<EOL>if running_under_virtualenv() and os.path.isfile(no_global_file):<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Return True if in a venv and no system site packages.