parameters: (output)
return_statement: return equivalent, errored
docstring: Reads abc_lec output and determines if the files were equivelent and
      if there were errors when preforming lec.
docstring_summary: Reads abc_lec output and determines if the files were equivelent and
      if there were errors when preforming lec.
docstring_tokens: Reads abc_lec output and determines if the files were equivelent and if there were errors when preforming lec .
function: def check_abc_lec_status(output):
      """
      Reads abc_lec output and determines if the files were equivelent and
      if there were errors when preforming lec.
      """
      equivalent = None
      errored = False
      for line in output:
          if "Error: The network has no latches." in line:
              errored = True
          if line.startswith("Networks are NOT EQUIVALENT"):
              equivalent = False
          elif line.startswith("Networks are equivalent"):
              equivalent = True
  
      # Returns None if could not determine LEC status
      return equivalent, errored
function_tokens: def check_abc_lec_status ( output ) : equivalent = None errored = False for line in output : if "Error: The network has no latches." in line : errored = True if line . startswith ( "Networks are NOT EQUIVALENT" ) : equivalent = False elif line . startswith ( "Networks are equivalent" ) : equivalent = True # Returns None if could not determine LEC status return equivalent , errored