code: def check_line_string(coord):
      if not isinstance(coord, list):
          return "each line must be a list of positions"
      if len(coord) < 2:
          return (
              'the "coordinates" member must be an array of '
              "two or more positions"
          )
      for pos in coord:
          error = check_point(pos)
          if error:
              return error
  
imports: from decimal import Decimal
  from numbers import Number, Real
  from geojson.base import GeoJSON
label_desc: Use image node_id 2 for calling a global function with example usage: check_line_string(coord) and returns: str, str, error