code: def _check_concat_dipoles(dipole):
      from ..dipole import Dipole, _concatenate_dipoles
  
      if not isinstance(dipole, Dipole):
          dipole = _concatenate_dipoles(dipole)
      return dipole
  
file_path: mne-python/mne/viz/_dipole.py
imports: import os.path
  import numpy
  from scipy.spatial import ConvexHull
  from .._freesurfer import _estimate_talxfm_rigid, _get_head_surface
  from ..surface import read_surface
  from ..transforms import _get_trans, apply_trans, invert_transform
  from ..utils import _check_option, _validate_type, get_subjects_dir
  from .utils import _validate_if_list_of_axes, plt_show
label_desc: Use image node_id 1 for calling a global function with example usage: _check_concat_dipoles(dipole) and returns: dipole