Definition of predicate for node