Better code sintax for asking if a node has some ohter node