code: def get_acl_on(request):
      
      acl_on = settings.ACL_ON
      if settings.LOCKDOWN and hasattr(request, 'user'):
          # ACL is always disabled for superusers
          if request.user.is_superuser:
              acl_on = False
      return acl_on
docs: Returns `True` if ACL should be honorated, returns otherwise `False`.