def _is_secure(self, request):
        if request.is_secure():
            return True

        # Handle the Webfaction case until this gets resolved in the
        # request.is_secure()
        if request.META in 'HTTP_X_FORWARDED_SSL':
            return request.META['HTTP_X_FORWARDED_SSL'] == 'on'

        return False
dataset/ETHPy150Open bitmazk/django-libs/django_libs/middleware.py/SSLRedirect._is_secure/swapped operands of `in`