def _rm_is_alignment_line(parts, s1_name, s2_name):
if len(parts) < <NUM_LIT:2>:<EOL><INDENT>return False<EOL><DEDENT>if _rm_name_match(parts[<NUM_LIT:0>], s1_name):<EOL><INDENT>return True<EOL><DEDENT>if (_rm_name_match(parts[<NUM_LIT:0>], s2_name) or<EOL>(parts[<NUM_LIT:0>] == "<STR_LIT:C>" and _rm_name_match(parts[<NUM_LIT:1>], s2_name))):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
return true if the tokenized line is a repeatmasker alignment line.

:param parts:   the line, already split into tokens around whitespace
:param s1_name: the name of the first sequence, as extracted from the header
                of the element this line is in
:param s2_name: the name of the second sequence, as extracted from the header
                of the element this line is in