node exists function. plain and simple.