isLibraryComponent = async (fileContent) => {
	let result = false;

	// remove style tags, postcss can screw this up
	fileContent = fileContent.replace(/<style.*>(.|[\s])*<\/style>/g, '');
	// First parse the passed in file
	const parseResult = svelteParse(fileContent);
	// If there is a <script> tag, check there
	if (parseResult.instance) {
		result = result || Boolean(parseResult.instance.content.body.find(nodeIsEvidenceDeclaration));
	}
	// If there is a <script context="module"> tag, check there
	if (parseResult.module) {
		result = result || Boolean(parseResult.module.content.body.find(nodeIsEvidenceDeclaration));
	}
	return result;
}
Generates an AST and searches it for the special declaration
@param {string} fileContent