code: def _checkMetadata(self, variantFile):
          
          metadata = self._getMetadataFromVcf(variantFile)
          if self._metadata is not None and self._metadata != metadata:
              raise exceptions.InconsistentMetaDataException(
                  variantFile.filename)
docs: Checks that metadata is consistent