docs: def _TemplateExists(unused_value, context, args):
      """Returns whether the given name is in the current Template's template group."""
      try:
          name = args[0]
      except IndexError:
          raise EvaluationError('The "template" predicate requires an argument.')
      return context.HasTemplate(name)