docs: def inputtemplate(self,template_id):
          """Return the inputtemplate with the specified ID. This is used to resolve a inputtemplate ID to an InputTemplate object instance"""
          for profile in self.profiles:
              for inputtemplate in profile.input:
                  if inputtemplate.id == template_id:
                      return inputtemplate
          raise Exception("No such input template: " + repr(template_id))