Check for an existing xml node

is there a way to check to see if a certain node exists in an xml file