code: def find_hosts_that_use_template(self, tpl_name):
          
          return [h.host_name for h in self if tpl_name in h.tags if hasattr(h, "host_name")]
docs: Find hosts that use the template defined in argument tpl_name
  
          :param tpl_name: the template name we filter or
          :type tpl_name: str
          :return: list of the host_name of the hosts that got the template tpl_name in tags
          :rtype: list[str]