def FindCheckMacro(line):
for macro in _CHECK_MACROS:<EOL><INDENT>i = line.find(macro)<EOL>if i >= <NUM_LIT:0>:<EOL><INDENT>matched = Match(r'<STR_LIT>' + macro + r'<STR_LIT>', line)<EOL>if not matched:<EOL><INDENT>continue<EOL><DEDENT>return (macro, len(matched.group(<NUM_LIT:1>)))<EOL><DEDENT><DEDENT>return (None, -<NUM_LIT:1>)<EOL>
Find a replaceable CHECK-like macro.

    Args:
      line: line to search on.
    Returns:
      (macro name, start position), or (None, -1) if no replaceable
      macro is found.