<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _filter_deleted_records(self, batches):
 """ Filter out deleted records """

        for batch in batches:
            for record in batch:
                if not self.must_delete_record(record):
                    yield record