Checks if two strokes are identical.
the first stroke
the second stroke
true if the two strokes are equal, false otherwise