Test the content of a value in Emacs Lisp