code: def is_all_same(c1, c2, form_manager):
      all_same = False
      if len(c1) == len(c2):
          all_same = True
          for j in range(len(c1)):
              if c1[j] != c2[j]:
                  all_same = False
                  break
      if all_same is False:
          if is_solution_same(c1, c2, form_manager):
              return True
          return False
      else:
          return True
  
file_path: graph4nlp/examples/pytorch/math_word_problem/mawps/src/evaluation.py
imports: from graph4nlp.pytorch.modules.evaluation.base import EvaluationMetricBase
  import sympy
  from sympy.parsing.sympy_parser import parse_expr
label_desc: Use image node_id 2 for calling a global function with example usage: is_all_same(c1, c2, form_manager) and returns: False, True, True