def dist_in_site_packages(dist):<EOL>
return normalize_path(<EOL>dist_location(dist)<EOL>).startswith(normalize_path(site_packages))<EOL>
Return True if given Distribution is installed in
sysconfig.get_python_lib().