def is_bad_headers(self):

        headers = [self.subject, self.sender]
        headers += list(self.send_to)
        headers += dict(self.extra_headers).values()

        for val in headers:
            for c in '\r\n':
                if c in val:
                    return True
        return False
Deletes a Task or list of Tasks in this Queue.
dataset/ETHPy150Open Pylons/pyramid_mailer/pyramid_mailer/message.py/Message.is_bad_headers--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/taskqueue/taskqueue.py/Queue.delete_tasks