def is_installed(package_name):
    return package_name.lower() in (d.key.lower() for d in WorkingSet())
Check whether a package is installed in the current environment.
dataset/ETHPy150Open paylogic/pip-accel/pip_accel/utils.py/is_installed