Cleaner node.contains; based on simpler node.get