mode-local-initialized-p
mode-local-initialized-p is a compiled Lisp function in `mode-local.el
'.
(mode-local-initialized-p)
Return non-nil if mode local is initialized in current buffer.
That is, if the current `major-mode' is equal to the major mode for
which mode local bindings have been activated.