def isSameStatementList(stmListA: List[HdlStatement],<EOL>stmListB: List[HdlStatement]) -> bool:
if stmListA is stmListB:<EOL><INDENT>return True<EOL><DEDENT>if stmListA is None or stmListB is None:<EOL><INDENT>return False<EOL><DEDENT>for a, b in zip(stmListA, stmListB):<EOL><INDENT>if not a.isSame(b):<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
:return: True if two lists of HdlStatement instances are same