Function isPolyLine

Returns true if p is a PolyLine, ie. an array of Lines. Validates all items in array.