safety check that a nodes belongs to the current list