def METHOD_NAME(self, task, config):
    """Reject any remembered entries from previous runs"""
    with Session() as session:
        (task_id,) = (
            session.query(db.RememberTask.id).filter(db.RememberTask.name == task.name).first()
        )
        reject_entries = session.query(db.RememberEntry).filter(
            db.RememberEntry.task_id == task_id
        )
        if reject_entries.count():
            # Reject all the remembered entries
            for entry in task.entries:
                if not entry.get('url'):
                    # We don't record or reject any entries without url
                    continue
                reject_entry = reject_entries.filter(
                    and_(
                        db.RememberEntry.title == entry['title'],
                        db.RememberEntry.url == entry['original_url'],
                    )
                ).first()
                if reject_entry:
                    entry.reject(
                        f'Rejected on behalf of {reject_entry.rejected_by} plugin: {reject_entry.reason}'
                    )