mode-local-equivalent-mode-p

mode-local-equivalent-mode-p is a compiled Lisp function in `mode-local.el'.

(mode-local-equivalent-mode-p MODE)

Is the major-mode in the current buffer equivalent to a mode in MODES.