Prefer fboundp to functionp so it works with macros as well.
Attach a file by drag & drop or click to upload