code: def numba_funcify_CheckAndRaise(op, node, **kwargs):
      error = op.exc_type
      msg = op.msg
  
      @numba_basic.numba_njit
      def check_and_raise(x, *conditions):
          for cond in conditions:
              if not cond:
                  raise error(msg)
          return x
  
      return check_and_raise
  
imports: import warnings
  from typing import cast
  import numba
  import numpy
  from pytensor import config
  from pytensor.graph import Apply
  from pytensor.link.numba.dispatch import basic
  from pytensor.link.numba.dispatch.basic import get_numba_type, numba_funcify
  from pytensor.raise_op import CheckAndRaise
  from pytensor.tensor import TensorVariable
  from pytensor.tensor.extra_ops import Bartlett, CumOp, FillDiagonal, FillDiagonalOffset, RavelMultiIndex, Repeat, SearchsortedOp, Unique, UnravelIndex
label_desc: Use image node_id 10 for calling a global function with example usage: numba_funcify_CheckAndRaise(op, node) and returns: check_and_raise, x