parameters: (dist)
return_statement: return dist_location(dist).startswith(normalize_path(site_packages))
docstring: Return True if given Distribution is installed in
  
      sysconfig.get_python_lib().
function: def dist_in_site_packages(dist):
  
      # type: (Distribution) -> bool
  
      """
  
      Return True if given Distribution is installed in
  
      sysconfig.get_python_lib().
  
      """
  
      return dist_location(dist).startswith(normalize_path(site_packages))
function_tokens: def dist_in_site_packages ( dist ) : # type: (Distribution) -> bool return dist_location ( dist ) . startswith ( normalize_path ( site_packages ) )