code: def _check_frame(other):
      from .vector import VectorTypeError
  
      if not isinstance(other, ReferenceFrame):
          raise VectorTypeError(other, ReferenceFrame("A"))
  
imports: from sympy import diff, expand, sin, cos, sympify, eye, zeros, ImmutableMatrix, MatrixBase
  from sympy.core.symbol import Symbol
  from sympy.simplify.trigsimp import trigsimp
  from sympy.physics.vector.vector import Vector, _check_vector
  from sympy.utilities.misc import translate
  from warnings import warn
label_desc: Use image node_id 1 for calling a global function with example usage: _check_frame(other) without return types