epa--derived-mode-p

epa--derived-mode-p is an alias for `derived-mode-p' in `epa.el'.

(epa--derived-mode-p &rest MODES)

Non-nil if the current major mode is derived from one of MODES.
Uses the `derived-mode-parent' property of the symbol to trace backwards.