static boolean snlIsVar(Lisp l) { if (l == null || !l.isLeaf()) ret false; S h = l.head; ret startsWithUpperCase(h) || (l(h) > 1 && h.startsWith("$")); }