def __contains__(self, dist):
        return self.by_key.get(dist.key) == dist
True if `dist` is the active distribution for its project
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/pkg_resources/__init__.py/WorkingSet.__contains__