Checking if node is not null