code: def _find_tpl(self):
          
          for tpl_possibility in self.tpl_possibilities:
              if os.path.isfile(tpl_possibility):
                  return tpl_possibility
  
          return None
docs: Find a template in the list of possible paths.