code: def _check_ornt(ornt):
      uniq = np.unique(ornt[:, 0])
      if len(uniq) != len(ornt):
          print(len(uniq))
          return True
      uniq = np.unique(ornt[:, 1])
      if tuple(uniq) not in {(-1, 1), (-1,), (1,)}:
          print(tuple(uniq))
          return True
  
imports: import logging
  from warnings import warn
  import numpy
  from scipy.linalg import inv, polar
  from dipy.io import gradients
  from dipy.core.onetime import auto_attr
  from dipy.core.geometry import vector_norm, vec2vec_rotmat
  from dipy.core.sphere import disperse_charges, HemiSphere
  from dipy.utils.deprecator import deprecate_with_version
label_desc: Use image node_id 24 for calling a global function with example usage: _check_ornt(ornt) and returns: True, True