custom-variable-p

custom-variable-p is a compiled Lisp function in `custom.el'.

(custom-variable-p VARIABLE)

Return non-nil if VARIABLE is a customizable variable.
A customizable variable is either (i) a variable whose property
list contains a non-nil `standard-value' or `custom-autoload'
property, or (ii) an alias for another customizable variable.