def _is_unpacked_egg(path):
    """
    Determine if given path appears to be an unpacked egg.
    """
    return (
        _is_egg_path(path) and
        os.path.isfile(os.path.join(path, 'EGG-INFO', 'PKG-INFO'))
    )

    Determine if given path appears to be an unpacked egg.
    
product/gradle-plugin/src/main/python/pip/_vendor/pkg_resources/__init__.py