code: def IsTemplateParameterList(clean_lines, linenum, column):
    
    (_, startline, startpos) = ReverseCloseExpression(
        clean_lines, linenum, column)
    if (startpos > -1 and
        Search(r'\btemplate\s*$', clean_lines.elided[startline][0:startpos])):
      return True
    return False
docs: Check if the token ending on (linenum, column) is the end of template<>.
  
    Args:
      clean_lines: A CleansedLines instance containing the file.
      linenum: the number of the line to check.
      column: end column of the token to check.
    Returns:
      True if this token is end of a template parameter list, False otherwise.