def msubs(expr, *sub_dicts, **kwargs):

    sub_dict = dict_merge(*sub_dicts)
    smart = kwargs.pop('smart', False)
    if smart:
        func = _smart_subs
    else:
        func = lambda expr, sub_dict: _crawl(expr, _sub_func, sub_dict)
    if isinstance(expr, (Matrix, Vector, Dyadic)):
        return expr.applyfunc(lambda x: func(x, sub_dict))
    else:
        return func(expr, sub_dict)
Validate a node's driver interfaces.
dataset/ETHPy150Open sympy/sympy/sympy/physics/mechanics/functions.py/msubs--crossover with--dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/v1/node_shell.py/do_node_validate