def METHOD_NAME(self):
    class_filter = Q()
    for acts_on in iterify(self.ACTS_ON):
        class_filter |= Q(_cls="Observable.{}".format(acts_on))
    # do outdated logic
    fltr = Q(**{"last_analyses__{}__exists".format(self.name): False})
    if self.EXPIRATION:
        fltr |= Q(
            **{
                "last_analyses__{}__lte".format(self.name): datetime.utcnow()
                - self.EXPIRATION
            }
        )
    fltr &= self.CUSTOM_FILTER & class_filter
    self.bulk(Observable.objects(fltr).no_cache())