Simplified decorator helper method node detection.