if model is not contained in app_models for every model in return value of the connection.introspection.installed_models function return value,
known_models = set ( model for model in connection . introspection . installed_models ( tables ) if model not in app_models )