code: def _dotprodsimp(expr, withsimp=False):
      """Wrapper for simplify.dotprodsimp to avoid circular imports."""
      from sympy.simplify.simplify import dotprodsimp as dps
  
      return dps(expr, withsimp=withsimp)
  
file_path: sympy/sympy/matrices/utilities.py
imports: from contextlib import contextmanager
  from threading import local
  from sympy.core.function import expand_mul
label_desc: Use image node_id 2 for calling a global function with example usage: _dotprodsimp(expr, withsimp) and returns: dps