add HasNode method