def _same_ImageCollection(collection1, collection2):
 if (len(collection1) != len(collection2)):
  return False
 for (ext1, ext2) in zip(collection1, collection2):
  if (not np.all((ext1 == ext2))):
   return False
 return True

def _same_ImageCollection ( collection1 , collection2 ) : if ( len ( collection1 ) != len ( collection2 ) ) : return False for ( ext1 , ext2 ) in zip ( collection1 , collection2 ) : if ( not np . all ( ( ext1 == ext2 ) ) ) : return False return True
ancillary function to compare two imagecollection objects .