code: def _is_clockwise(subpath):
      """Returns whether the given subpath is clockwise-oriented."""
      pts = [cmd[-2:] for cmd in subpath]
      det = 0
      for i in range(len(pts) - 1):
          det += np.linalg.det(pts[i : i + 2])
      return det > 0
  
imports: import io
  import numpy
  from PIL import Image
  from six.moves import zip_longest
  from skimage import draw
  import tensorflow.compat.v1
label_desc: Use image node_id 16 for calling a global function with example usage: _is_clockwise(subpath) and returns: unknown