def is_installed(model_class):
    if django.VERSION[:2] >= (1, 7):
        return model_class._meta.installed
    if model_class._meta.app_label in settings.INSTALLED_APPS:
        return True
    return re.sub(r'\.models.*$', '', model_class.__module__) in settings.INSTALLED_APPS
Setup ssh and scp to run with special options.
dataset/ETHPy150Open justquick/django-activity-stream/actstream/registry.py/is_installed--crossover with--dataset/ETHPy150Open openstack-infra/git-review/git_review/tests/__init__.py/BaseGitReviewTestCase._configure_ssh