code: def _validate_profile(self, bag):
          
          if not self.profile_validator.validate(bag):
              raise Exception(str(self.profile_validator.report))
docs: Validate against OCRD BagIt profile (bag-info fields, algos etc)