def has_app_by_application_name(application_name):
    try:
        app_by_application_name(application_name)
    except __HOLE__:
        return False
    else:
        return True
dataset/ETHPy150Open mollyproject/mollyproject/molly/conf/applications.py/has_app_by_application_name