code: def _check_ori(pick_ori, forward):
      """Check pick_ori."""
      _check_option("pick_ori", pick_ori, [None, "vector"])
      if pick_ori == "vector" and is_fixed_orient(forward):
          raise ValueError(
              'pick_ori="vector" cannot be combined with a fixed '
              "orientation forward solution."
          )
  
imports: import numpy
  from .._fiff.proj import deactivate_proj
  from ..dipole import Dipole
  from ..fixes import _safe_svd
  from ..forward import is_fixed_orient
  from ..minimum_norm.inverse import _check_reference, _log_exp_var, _prepare_forward, combine_xyz
  from ..source_estimate import SourceEstimate, _BaseSourceEstimate, _make_stc
  from ..utils import _check_depth, _check_option, _validate_type, check_random_state, logger, sum_squared, verbose, warn
  from .mxne_optim import _Phi, groups_norm2, iterative_mixed_norm_solver, iterative_tf_mixed_norm_solver, mixed_norm_solver, norm_epsilon_inf, norm_l2inf, tf_mixed_norm_solver
label_desc: Use image node_id 1 for calling a global function with example usage: _check_ori(pick_ori, forward) without return types