M-x < TAB > prints all the defined functions.
To check a variable is defined or not evaluating the following expression, (boundp 'variable-name) C-x C-e will print t if the variable-name is defined else nill.
How to print all the defined variables in emacs.