Hi Radek,
you could calculate the Winding Number to check if the curve goes clockwise or counter clockwise:
However you need to specify a “center point” which needs to be inside the curve… could be the center of the bounding box for example but that’s not always 100% inside