tblsearch
(tblsearch table name [set-tblnext])
DXF list of the name record of the table, or nil. Tables: "LAYER", "LTYPE", "STYLE", "BLOCK" and "DIMSTYLE". With a non-nil third argument, the next tblnext continues after this record.
(if (not (tblsearch "LAYER" "WALLS")) (princ "\nThe WALLS layer is missing."))
Differences with AutoCAD
The VIEW, UCS, VPORT and APPID tables are not available.