def IsDerivedFunction(clean_lines, linenum):
<EOL>for i in xrange(linenum, max(-<NUM_LIT:1>, linenum - <NUM_LIT:10>), -<NUM_LIT:1>):<EOL><INDENT>match = Match(r'<STR_LIT>', clean_lines.elided[i])<EOL>if match:<EOL><INDENT>line, _, closing_paren = CloseExpression(<EOL>clean_lines, i, len(match.group(<NUM_LIT:1>)))<EOL>return (closing_paren >= <NUM_LIT:0> and<EOL>Search(r'<STR_LIT>', line[closing_paren:]))<EOL><DEDENT><DEDENT>return False<EOL>
Check if current line contains an inherited function.

    Args:
      clean_lines: A CleansedLines instance containing the file.
      linenum: The number of the line to check.
    Returns:
      True if current line contains a function with "override"
      virt-specifier.