Checking whether nodes are objects.