def check_dependency(app_name):
    if app_name not in settings.INSTALLED_APPS:
        raise DependencyError(app_name)
Assures the app is installed, otherwise raises a DependencyError.
dataset/ETHPy150Open django-erp/django-erp/djangoerp/core/utils/dependencies.py/check_dependency