code: def is_same_labeling(labeled0, labeled1):
      """
      same = is_same_labeling(labeled0, labeled1)
  
      Checks whether ``labeled0`` and ``labeled1`` represent the same labeling
      (i.e., whether they are the same except for a possible change of label
      values).
  
      Note that the background (value 0) is treated differently. Namely
  
      is_same_labeling(a, b) implies np.all( (a == 0) == (b == 0) )
  
      Parameters
      ----------
      labeled0 : ndarray of int
          A labeled array
      labeled1 : ndarray of int
          A labeled array
  
      Returns
      -------
      same : bool
          True if the labelings passed as argument are equivalent
  
      See Also
      --------
      label : function
      relabel : function
      """
      labeled0 = _convert_labeled(labeled0)
      labeled1 = _convert_labeled(labeled1)
      return _labeled.is_same_labeling(labeled0, labeled1)
  
imports: from __future__ import division
  import numpy
  from .morph import get_structuring_elem
  from .None import _labeled
  from .internal import _get_output
  from ._filters import _checked_mode2int
  import mahotas
label_desc: Use image node_id 3 for calling a global function with example usage: is_same_labeling(labeled0, labeled1) and returns: _labeled