true if the path has valid path data (and thus may be used as a
d attribute of an SVG DOM element).
true if the path has no segments. Return
false if the path has segments but does not start with a Moveto.
You may use the
path.validate() function to add an initial
'M 0 0' segment to invalid paths; the method leaves valid paths unchanged.