code: def element_equal(x, y):
      if not isinstance(x, tuple):
          return np.array_equal(x, y)
      for a, b in zip(list(x), list(y)):
          if not np.array_equal(a, b):
              return False
      return True
  
imports: import os
  import sys
  import time
  import shutil
  import tempfile
  import numpy
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 1 for calling a global function with example usage: element_equal(x, y) and returns: True, np, False