path.isValid()
Return true if the path has valid path data (and thus may be used as a d attribute of an SVG DOM element).
true
d
Return true if the path has no segments. Return false if the path has segments but does not start with a Moveto.
false