def is_solr_supported():
    try:
        return 'Solr' in settings.HAYSTACK_CONNECTIONS['default']['ENGINE']
    except (KeyError, AttributeError):
        return False
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/search/features.py/is_solr_supported/original