docs: def match(self, metadata, user = None):
          """Does the specified metadata match this template? returns (success,metadata,parameters)"""
          assert isinstance(metadata, self.formatclass)
          return self.generate(metadata,user)