old_contents: #!/usr/bin/env python
  
  
  NAME = 'aeSecure (aeSecure)'
  
  
  def is_waf(self):
      for attack in self.attacks:
          r = attack(self)
          if r is None:
              return
          response, page = r
          if response.getheader('aeSecure-code'):
              return True
          if b'aesecure_denied.png' in page:
              return True
      return False
new_contents: #!/usr/bin/env python
  
  
  NAME = 'aeSecure (aeSecure)'
  
  
  def is_waf(self):
      schemes = [
          self.matchHeader(('aeSecure-code', '.+')),
          self.matchContent(r'aesecure_denied.png')
      ]
      if any(i for i in schemes):
          return True
      return False
subject: Update for aeSecure plugin