code: def _check_dyadic(other):
      if not isinstance(other, Dyadic):
          raise TypeError("A Dyadic must be supplied")
      return other
  
imports: from sympy import sympify, Add, ImmutableMatrix
  from sympy.core.evalf import EvalfMixin
  from sympy.printing.defaults import Printable
  from mpmath.libmp.libmpf import prec_to_dps
label_desc: Use image node_id 1 for calling a global function with example usage: _check_dyadic(other) and returns: other