'A generator which filters the subjects.
Args:
subjects: An iterator of aff4 objects.
Yields:
The Objects which pass the filter.'

def Filter(self, subjects):

    for subject in subjects:
        if self.FilterOne(subject):
            (yield subject)
