[BUG #7501]  Added a util method to detect node item.