def METHOD_NAME(self):
    sub = self.getheader('Subject')
    if not sub:
        return 0
    sub = sub.lower()
    if sub.startswith('waiting mail'): return 1
    if 'warning' in sub: return 1
    self.sub = sub
    return 0