New way of testing if DOCUMENTS_APP is installed (from upstream)