hasPermission

abstract fun hasPermission(@NonNull permission: DocumentPermissions): Boolean

Test document permission flags.

Return

true if permission flag is set on this document, false otherwise.