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