code: def inertia(frame, ixx, iyy, izz, ixy=0, iyz=0, izx=0):
      sympy_deprecation_warning(
          """
          The inertia function has been moved.
          Import it from "sympy.physics.mechanics".
          """,
          deprecated_since_version="1.13",
          active_deprecations_target="moved-mechanics-functions",
      )
      return _inertia(frame, ixx, iyy, izz, ixy, iyz, izx)
  
imports: from sympy.utilities import dict_merge
  from sympy.utilities.iterables import iterable
  from sympy.physics.vector import Dyadic, Vector, ReferenceFrame, Point, dynamicsymbols
  from sympy.physics.vector.printing import vprint, vsprint, vpprint, vlatex, init_vprinting
  from sympy.physics.mechanics.particle import Particle
  from sympy.physics.mechanics.rigidbody import RigidBody
  from sympy.simplify.simplify import simplify
  from sympy import Matrix, Mul, Derivative, sin, cos, tan, S
  from sympy.core.function import AppliedUndef
  from sympy.physics.mechanics.inertia import inertia, inertia_of_point_mass
  from sympy.utilities.exceptions import sympy_deprecation_warning
label_desc: Use image node_id 2 for calling a global function with example usage: inertia(frame, ixx, iyy, izz, ixy, iyz, izx) and returns: _inertia