custom-variable-state
custom-variable-state is a compiled Lisp function in `cus-edit.el
'.
(custom-variable-state SYMBOL VAL)
Return the state of SYMBOL if its value is VAL.
If SYMBOL has a non-nil `custom-get' property, it overrides VAL.
Possible return values are `standard', `saved', `set', `themed',
`changed', and `rogue'.