macroexp--const-symbol-p

macroexp--const-symbol-p is a compiled Lisp function in `macroexp.el'.

(macroexp--const-symbol-p SYMBOL &optional ANY-VALUE)

Non-nil if SYMBOL is constant.
If ANY-VALUE is nil, only return non-nil if the value of the symbol is the
symbol itself.