nodeIsEvidenceDeclaration = (currentNode) => {
	// If this isn't the right kind of declaration, ignore it
	if (currentNode.type !== 'ExportNamedDeclaration') return false;

	const rootDeclaration = currentNode.declaration;

	if (rootDeclaration?.type !== 'VariableDeclaration') return false;

	// const only, this is somewhat inline with sveltekit's patterns
	if (rootDeclaration.kind !== 'const') return false;

	// This shouldn't be hit, but type safety
	if (!rootDeclaration?.declarations) return false;

	// Iterate through sub-declarations, I've only ever seen 1 here
	for (const declaration of rootDeclaration.declarations) {
		const { id, init } = declaration;
		// Check to see if this is a declaration for evidenceInclude
		if (id.type !== 'Identifier') continue;
		if (id.name !== 'evidenceInclude') continue;
		// Check to see if the value it is declared with is a true constant
		// We could shorten this; but this reads better
		if (init?.type !== 'Literal') continue;
		if (init.value !== true) continue;
		// We found what we want!
		return true;
	}
	// We never found the right declaration; continue the reduction
	return false;
}
Reduce function to run on a svelte AST.
Searches for the evidenceInclude declaration.
@example
 <script context="module">
     export const evidenceInclude = true
 </script>

@param {import("estree").Node} currentNode
@returns {boolean}