package-disabled-p

package-disabled-p is a compiled Lisp function in `package.el'.

(package-disabled-p PKG-NAME VERSION)

Return whether PKG-NAME at VERSION can be activated.
The decision is made according to `package-load-list'.
Return nil if the package can be activated.
Return t if the package is completely disabled.
Return the max version (as a string) if the package is held at a lower version.