code: def validate(self, **kwargs):
          
          self.check_crossrefs()
          for value in self.values():
              value.validate(**kwargs)
docs: Validates each entry (passing the provided arguments down to them and
          also tries to resolve all cross-references between the entries.