code: def unindex_template(self, tpl):
          
          name = getattr(tpl, 'name', '')
          try:
              del self.name_to_template[name]
          except KeyError:  # pragma: no cover, simple protection
              pass
docs: Unindex a template from the `templates` container.
  
          :param tpl: The template to un-index
          :type tpl: alignak.objects.item.Item
          :return: None