capybara/virtualenv/lib/python2.7/site-packages/pip/utils/__init__.py
def dist_in_usersite(dist):
    """
    Return True if given Distribution is installed in user site.
    """
    norm_path = normalize_path(dist_location(dist))
    return norm_path.startswith(normalize_path(user_site))
def dist_in_usersite(dist):
    """
    Return True if given Distribution is installed in user site.
    """
    norm_path = normalize_path(dist_location(dist))
    return norm_path.startswith(normalize_path(user_site))
def dist_in_usersite ( dist ) : norm_path = normalize_path ( dist_location ( dist ) ) return norm_path . startswith ( normalize_path ( user_site ) )
Return True if given Distribution is installed in user site.
Return True if given Distribution is installed in user site .