def _assertnode(*terms):
    for t in terms:
        assert isinstance(t, Node), \
            'Term %s must be an rdflib term' % (t,)
    return True
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/_assertnode/original