docs: def is_template(self, filename):
          """Check if a file is a template.
  
          A file is a considered a template if it is neither a partial nor
          ignored.
  
          :param filename: the name of the file to check
          """
          if self.is_partial(filename):
              return False
  
          if self.is_ignored(filename):
              return False
  
          if self.is_static(filename):
              return False
  
          return True