def validate_dependencies():
 if (not app_is_installed('treebeard')):
  raise ImproperlyConfigured('django CMS requires django-treebeard. Please install it and add "treebeard" to INSTALLED_APPS.')

def validate_dependencies ( ) : if ( not app_is_installed ( 'treebeard' ) ) : raise ImproperlyConfigured ( 'django CMS requires django-treebeard. Please install it and add "treebeard" to INSTALLED_APPS.' )
check for installed apps .