• Determine if the document is encrypted.

    Parameters

    • Optionaldoc: null | Pick<Doc, "path" | "type">

    Returns boolean