def is_local(path):<EOL>
if not running_under_virtualenv():<EOL><INDENT>return True<EOL><DEDENT>return normalize_path(path).startswith(normalize_path(sys.prefix))<EOL>
Return True if path is within sys.prefix, if we're running in a virtualenv.

If we're not in a virtualenv, all paths are considered "local."