if node.prev is null