def _assert_not_implemented(cond, msg):
    if not cond:
        raise NotImplementedError(msg)