code: def validate_tl_line(
      line,
      LTRB=True,
      withTranscription=True,
      withConfidence=True,
      imWidth=0,
      imHeight=0,
  ):
      """
      Validate the format of the line. If the line is not valid an exception will be raised.
      If maxWidth and maxHeight are specified, all points must be inside the imgage bounds.
      Posible values are:
      LTRB=True: xmin,ymin,xmax,ymax[,confidence][,transcription]
      LTRB=False: x1,y1,x2,y2,x3,y3,x4,y4[,confidence][,transcription]
      """
      get_tl_line_values(
          line,
          LTRB,
          withTranscription,
          withConfidence,
          imWidth,
          imHeight,
      )
  
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 7 for calling a global function with example usage: validate_tl_line(line, LTRB, withTranscription, withConfidence, imWidth, imHeight) without return types