That's to pass over external references' layers.
Why are you asking for something and you are doing something else ?
Anyway, just build the list as I did in the following program to make it working professionally.
(defun c:Test ( / lst lyn )
(setq lst '(("AN_" "Annotation Layer - ")
("CH_" "Colour Hatch Layer - ")
)
)
(vlax-for obj (vla-get-layers (vla-get-ActiveDocument (vlax-get-acad-object)))
(or (wcmatch (setq lyn (vla-get-name obj)) "*|*")
(and (setq fnd (assoc (substr lyn 1 3) lst))
(vla-put-Description obj (strcat (cadr fnd) lyn))
)
)
)
(princ)
) (vl-load-com)