def is_installed(package):
    try:
        __import__(package)
        return True
    except __HOLE__:
        return False
dataset/ETHPy150Open haystack/eyebrowse-server/notifications/conf.py/is_installed