checkIfImapProvider

open fun checkIfImapProvider(@NonNull provider: Provider, shouldThrow: Boolean): Boolean