doc-view-mode-p

doc-view-mode-p is an autoloaded compiled Lisp function in `doc-view.el'.

(doc-view-mode-p TYPE)

Return non-nil if document type TYPE is available for `doc-view'.
Document types are symbols like `dvi', `ps', `pdf', or `odf' (any
OpenDocument format).