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