Check that node is not null