The function doesn't return true if node is null, so the name is not right.