code: def validate_clockwise_points(points):
      """
      Validates that the points that the 4 points that dlimite a polygon are in clockwise order.
      """
  
      if len(points) != 8:
          raise Exception("Points list not valid." + str(len(points)))
  
      point = [
          [int(points[0]), int(points[1])],
          [int(points[2]), int(points[3])],
          [int(points[4]), int(points[5])],
          [int(points[6]), int(points[7])],
      ]
      edge = [
          (point[1][0] - point[0][0]) * (point[1][1] + point[0][1]),
          (point[2][0] - point[1][0]) * (point[2][1] + point[1][1]),
          (point[3][0] - point[2][0]) * (point[3][1] + point[2][1]),
          (point[0][0] - point[3][0]) * (point[0][1] + point[3][1]),
      ]
  
      summatory = edge[0] + edge[1] + edge[2] + edge[3]
      if summatory > 0:
          raise Exception(
              "Points are not clockwise. The coordinates of bounding quadrilaterals have to be given in clockwise order. Regarding the correct interpretation of 'clockwise' remember that the image coordinate system used is the standard one, with the image origin at the upper left, the X axis extending to the right and Y axis extending downwards."
          )
  
imports: import json
  import sys
  import zipfile
  import re
  import sys
  import os
  import codecs
  import traceback
  import numpy
  from utils import order_points_clockwise
label_desc: Use image node_id 10 for calling a global function with example usage: validate_clockwise_points(points) without return types