hasCommentedOutPluginBlock function
True when the project's analysis_options.yaml carries the marker written
around a commented-out plugins: block. The marker alone does NOT mean
saropa_lints is off: "Lint integration" off, the language server replacing
the analyzer plugin, and the init default for a new project all write the
same text. Use isScanIntegrationDisabled to ask whether it is off.
Implementation
bool hasCommentedOutPluginBlock(String projectRoot) {
final content = _readFile(projectRoot, 'analysis_options.yaml');
return content != null && content.contains(kIntegrationOffSentinel);
}