Check if a context node is given.