def module_exists(module_name):
    try:
        __import__(module_name)
    except __HOLE__:
        return False
    else:
        return True
dataset/ETHPy150Open rzeka/QLDS-Manager/qldsmanager/manager.py/module_exists