NMS-6918 add method to check node existence when getting node id from event