#!/usr/bin/env python
'''
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

NAME = 'Distil (Distil Networks)'


def is_waf(self):
    schemes = [
        self.matchContent(r'cdn\.distilnetworks\.com/images/anomaly\.detected\.png'),
        self.matchContent(r'distilCaptchaForm'),
        self.matchContent(r'distilCallbackGuard')
    ]
    if any(i for i in schemes):
        return True
    return False