public static boolean isSuppressed(@NotNull PsiElement element, @NotNull String inspectionId) {
    return EP_NAME.getExtensionList().stream().anyMatch(provider -> provider.isProviderAvailable(element.getContainingFile()) &&
                                                                    provider.isSuppressedFor(element, inspectionId));
  }
public static boolean isSuppressed(@NotNull PsiElement element, @NotNull String inspectionId)