Helper function to check for path node.
Helper function to check for path node.

mcanthony/svgObjectModelGenerator,adobe-research/svgObjectModelGenerator,mcanthony/svgObjectModelGenerator,adobe-research/svgObjectModelGenerator