code: def _check_vector(other):
      if not isinstance(other, Vector):
          raise TypeError("A Vector must be supplied")
      return other
  
imports: from sympy import S, sympify, expand, sqrt, Add, zeros, acos, ImmutableMatrix, simplify
  from sympy.simplify.trigsimp import trigsimp
  from sympy.printing.defaults import Printable
  from sympy.utilities.misc import filldedent
  from sympy.core.evalf import EvalfMixin
  from mpmath.libmp.libmpf import prec_to_dps
label_desc: Use image node_id 1 for calling a global function with example usage: _check_vector(other) and returns: other