def check_prerequisites(self, awardee, dep_badge, award):
        if self.is_awarded_to(awardee):
            # Not unique, but badge auto-award from prerequisites should only
            # happen once.
            return None
        for badge in self.prerequisites.all():
            if not badge.is_awarded_to(awardee):
                # Bail on the first unmet prerequisites
                return None
        return self.award_to(awardee)
Check the prerequisites for this badge. If they're all met, award
dataset/ETHPy150Open mozilla/django-badger/badger/models.py/Badge.check_prerequisites